I tested this behavior on Windows NT 3.5 (build 807), utilizing the
following p-code
SetCurrentDirectory("E:");
GetCurrentDirectory();
The buffer returned by GetCurrentDirectory() contained the current directory
on the E: drive (in my case, E:\MSTOOLS\BIN)
Regards,
Scott Field
Microsoft Corp.
There is 1 Reply.
Read action !
Scott, thanks for the response. Sounds like a first good step. Now what about
this (starting from your example: E:\MSTOOLS\BIN):
1. SetCurrentDirectory(".."); 2. GetCurrentDirectory(); -> does it return
E:\MSTOOLS? 3. SetCurrentDirectory("C:"); 4. GetCurrentDirectory(); ->
returns C:something, right? 5. SetCurrentDirectory("E:"); 6.
GetCurrentDirectory(); -> now the $64,000 question: do you get E:\MSTOOLS
(GOOD)
or E:\MSTOOLS\BIN (BAD)
Stan
Read action !