yoavo
asked on
SetCurrentDirectory question
Hi,
I need to change the current directory to "My Computer".
How do I do that ?
Yoav.
I need to change the current directory to "My Computer".
How do I do that ?
Yoav.
Have you tried the SetCurrentDirectory(LPCTST R lpPathName) - method?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I haven't tried this, so I don't know if it will work.
But you could try using the name of your computer.
Example:
If your computer's name is "Devolp32" then you could try the following:
SetCurrentDirectory("\\Dev olp32\");
But you could try using the name of your computer.
Example:
If your computer's name is "Devolp32" then you could try the following:
SetCurrentDirectory("\\Dev
SetCurrentDirectory() only works on file system object. The "My Computer" is a Windows shell object and will not appear in the filesystem. You also cannot set the current directory to "\\Computername". This is invalid...