Hi All,
I have a written a script which creates a folder on a remote file
server and copies the data from local machine to that server.However
i'm unable to laucnh the xcopy command from cmd.exe. It just flashes
on for a sec, but no data is copied to the remote server.Can somebody
tell me why its not working and how to make it work.
This is what i have written.....
Set WshShell = WScript.CreateObject("WScript.Shell")
Wshshell.Run "Cmd.exe /c xcopy c:\*.xls
\\fileserver\drive\backup\machine /s", 1, True
Thanks for any kind of help
-Gaurav