Hello
I'm writing a script that copies files from one folder to another, and I'm
using XCOPY.
wshshell.run "cmd /c XCOPY " & .....
but how do I get the DOS shell window to open when I run this command ??
THanks
Hello
I'm writing a script that copies files from one folder to another, and I'm
using XCOPY.
wshshell.run "cmd /c XCOPY " & .....
but how do I get the DOS shell window to open when I run this command ??
THanks
"Bill" <someplace@newsgroup> wrote in message
news:eLfYVcu7KHA.720@newsgroupLike so: wshshell.run "cmd /c XCOPY . . . " & pause
> Hello
>
> I'm writing a script that copies files from one folder to another, and I'm
> using XCOPY.
> wshshell.run "cmd /c XCOPY " & .....
>
>
> but how do I get the DOS shell window to open when I run this command ??
>
> THanks
>
The question is, of course, why you would want to invoke xcopy from within a
script file. It would be much simpler to invoke it from a batch file.
| Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| xcopy ftp | James | VB Script | 5 | 05 Feb 2009 |
| robocopy or xcopy ? | Vistje | Vista General | 0 | 10 Sep 2008 |
| XCOPY fails in Vista | Ashpoint | Vista General | 12 | 23 Aug 2007 |
| Xcopy Continue (/C) switch | Vista General | 8 | 09 Aug 2006 | |
| xcopy batch | martin | PowerShell | 7 | 31 May 2006 |