I receive the following msg.:
'\\Josmith1\netlogon'
CMD.EXE was started with the above path as the current directory. UNC path are not supported. Defaulting to Windows diretory.
C:\Windows>debug on
_file not found
Then that all I get.
The batch code I am debugging is this:
code:
debug on
@echo off
CLS
IF EXIST %WINDIR%\SYSTEM32\KIX32.EXE GOTO RunScripts
IF EXIST C:\WINDOWS\SYSTEM32\KIX32.EXE GOTO WINDOWS
IF "%OS%" == "Windows_XP" GOTO xplogon
xcopy \\josmith1\KIXTART\KIX32.EXE %WINDIR%\SYSTEM32\ /D/H/I/R/V > NUL
GOTO xplogon
:xplogon
xcopy \\josmith1\KIXTART\KIX32.EXE C:\WINDOWS\SYSTEM32\ /D/H/I/R/V > NUL
GOTO WINDOWS
:WINDOWS
echo Loading Logon Scripts, Please Wait....
C:\WINDOWS\SYSTEM32\KIX32.EXE \\josmith1\KIXTART\joscript.kix
GOTO RunScripts
:RunScripts
echo Loading Logon Scripts, Please Wait....
%WINDIR%\SYSTEM32\KIX32.EXE \\josmith1\KIXTART\joscript.kix
echo on
I am trying to map drives to XP and 2000 workstations