Hello all,
Not sure why this is happening, but my download box doesn't seem to kill the source once it has copied to the destination. This is from WINDOWS7 to WINDOWS 2K8 R2
I'm sure it's not a permission issue, as I'm running the batch as administrator and under a high level admin account.
The code is as follows:
The script itself works fantastic, but deleting from source would be nice so I don't have to keep maintaining drive space on the download box (only 160GB).
Anyone got ideas as to why this wouldn't been working? Been scratching my head for a while now.
Not sure why this is happening, but my download box doesn't seem to kill the source once it has copied to the destination. This is from WINDOWS7 to WINDOWS 2K8 R2
I'm sure it's not a permission issue, as I'm running the batch as administrator and under a high level admin account.
The code is as follows:
set SourcePATH=C:\Downloader\Completed
set DestPATH=\\HPSERVER\MediaStore
set DestUser=XXX
set DestPass=XXX
net use x: \\HPSERVER\MediaStore /user:%DestUser% %DestPass% /persistent:no
:start
net use x: \\HPSERVER\MediaStore /user:%DestUser% %DestPass% /persistent:no
ROBOCOPY.EXE C:\Downloader\Completed\Folder1 "X:\Folder1" /E /Z /COPYALL /MOV /R:10 /W:30 /TBD /V /NP /ETA /TEE /LOG:Folder1.log
ROBOCOPY.EXE C:\Downloader\Completed\Folder2 "X:\Folder2" /E /Z /COPYALL /MOV /R:10 /W:30 /TBD /V /NP /ETA /TEE /LOG+:Folder1.log
ROBOCOPY.EXE C:\Downloader\Completed\Folder3 "X:\Folder3" /E /Z /COPYALL /MOV /R:10 /W:30 /TBD /V /NP /ETA /TEE /LOG+:Folder1.log
ECHO DONE
ECHO Beginning sleep for 15 minutes
PING 1.1.1.1 -n 1 -w 900000 >NUL
goto start
The script itself works fantastic, but deleting from source would be nice so I don't have to keep maintaining drive space on the download box (only 160GB).
Anyone got ideas as to why this wouldn't been working? Been scratching my head for a while now.
Last edited: