Copy command not working
I wrote a script to copy a file from one drive to another
Dim oShell, oExec, sSyntax, nreturn
Set oShell = CreateObject("Wscript.Shell")
sSyntax = "copy c:file1 d:file2"
nreturn = oShell.Run(sSyntax)
I get a error "System cannot find the file specified"
but if I give the same command from command prompt it works fine.
any one has the same issue. If any one has resolved it or has any suggessions please let me know.