At 01:09 PM 1/31/2005, you wrote:
Hello
Gerhard Hofmann wrote:When running appsonly.bat from a mapped network drive, it will launch appsonly.pl. If running the batch file from a unc path, appsonly.pl won't be found. Obviously, it's a problem when working directory is a UNC path.
How can I fix this?
I just tried something and it's working:
-----8<--------------------------------- @echo off setlocal
cd /d %0\..
if errorlevel 1 ( net use /PERSISTENT:NO > NUL: net use Z: \\ntinstall\install > NUL: cd /d Z:\ set connect=YES )
------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ unattended-info mailing list unattended-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unattended-info