1.

Solve : CHDIR IN XP USING UNC?

Answer»

I am trying to use UNC to do a chdir. When using xp, I get message saying "CMD does not support UNC paths as current directory"

Does anyone know a way around this problem. By the way, it only happens in XP. 2000, or vista, 98 works fine

This seems to be saying you NEED the cmd.exe from an NT 4.0 Service Pack and also add a registry entry:

Under the registry PATH:

HKEY_CURRENT_USER
\SOFTWARE
\Microsoft
\Command Processor

add the value DisableUNCCheck REG_DWORD and set the value to 0 x 1 (Hex).

http://support.microsoft.com/kb/156276/en-us

This just seems to suggest adding the registry entry:

http://www.jsifaq.com/SF/Tips/Tip.aspx?id=9890

Or use Powershell which does support a UNC path for the current directory



Discussion

No Comment Found