speedi Posted June 2, 2012 Share Posted June 2, 2012 This is an xcopy script. $thedir = "c:\testdir" runwait("C:\WINDOWS\SYSTEM32\XCOPY.EXE " & chr(34) & @MyDocumentsDir & CHR(34) & ' ' & chr(34) & $thedir & CHR(34) & ' /c/s/a/exclude:\exclude.txt >c:\backup.txt') It will not work with the ( >c:\backup.txt) command output pipe.. It does not do the copy! If I remove the pipe, the xcopy works. Any ideas are appreciated very much... Link to comment Share on other sites More sharing options...
armoros Posted June 2, 2012 Share Posted June 2, 2012 Hello speedi till you take a better helpCheck and it may give some ideas [font="verdana, geneva, sans-serif"] [/font] Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now