here is the log in script.
cd "C:\Documents and Settings\%username%\Favorites\Printpack Links\IT Tools\your ip info"
IF EXIST ipconfig.bat GOTO BATFOUND
md "C:\Documents and Settings\%username%\Favorites\Printpack Links\IT Tools"
xcopy /y /s \\ppkfile1\ittools "C:\Documents and Settings\%username%\Favorites\Printpack Links\IT Tools"
:BATFOUND
ECHO BAT already detected >> LOG_OPT
GOTO end
:End
EXIT
Here is the problem I am having with the script.
I run it from the local box it works fine.
If I run it from the the loging script it re-copies the files every time.
This should only copy the files if they do not exist.
Can anyone help me.
This is on a 2000 domain, on 2000 workstations.
cd "C:\Documents and Settings\%username%\Favorites\Printpack Links\IT Tools\your ip info"
IF EXIST ipconfig.bat GOTO BATFOUND
md "C:\Documents and Settings\%username%\Favorites\Printpack Links\IT Tools"
xcopy /y /s \\ppkfile1\ittools "C:\Documents and Settings\%username%\Favorites\Printpack Links\IT Tools"
:BATFOUND
ECHO BAT already detected >> LOG_OPT
GOTO end
:End
EXIT
Here is the problem I am having with the script.
I run it from the local box it works fine.
If I run it from the the loging script it re-copies the files every time.
This should only copy the files if they do not exist.
Can anyone help me.
This is on a 2000 domain, on 2000 workstations.