Hi folks,
Does anyone here have a way to determine if a PB/DOS app is running from a non-mapped drive? ie, if I launch a DOS executable from a shared network drive, what is the easiest way to detect that the drive is not mapped to a drive letter?
On my Win2K system, launching a PB/DOS EXE directly from a network drive, CURDIR$ reports "C:\". In the same test, a PB/DLL 2.0 app returns "I:\WINNT\TEMP"... these apps were launched from \\server\misc\noname.exe
As you can see, I also need a solution for a PB/DLL 2.0 application too...
Any ideas out there?
------------------
Lance
PowerBASIC Support
mailto:[email protected][email protected]</A>
Does anyone here have a way to determine if a PB/DOS app is running from a non-mapped drive? ie, if I launch a DOS executable from a shared network drive, what is the easiest way to detect that the drive is not mapped to a drive letter?
On my Win2K system, launching a PB/DOS EXE directly from a network drive, CURDIR$ reports "C:\". In the same test, a PB/DLL 2.0 app returns "I:\WINNT\TEMP"... these apps were launched from \\server\misc\noname.exe
As you can see, I also need a solution for a PB/DLL 2.0 application too...
Any ideas out there?
------------------
Lance
PowerBASIC Support
mailto:[email protected][email protected]</A>
Comment