I've been racking my brain trying to get a small piece of code working to move a group of files across the network periodically, but I can't seem to get anything I try to work. Basically I'm moving Acronis Backup files (.TIB). The code I have shows no errors, but nothing happens.
Dim objshell
Set objshell = CreateObject("WScript.Shell")
objshell.Run "xcopy D:\Backup\*.TIB Z:\12"
objshell.Run "xcopy /y D:\Backup\.meta Z:\12"
Set objshell = Nothing
Is there a reason nothing is moving? Like I said, there's no errors so I'm not sure what I'm doing wrong. Any help would be appreciated, I'm still very new to all of this!
This post has been edited by Paxman23: 11 June 2012 - 06:46 PM



Help
Back to top









