I always have difficulty with script lines like this one that does not work:
runwait("C:\Windows\System32\XXCOPY.EXE " & chr(34) & @DesktopDir & "*.*" & chr(34) & "C:Documents and SettingsJim MihalskiMy Documents" & "/M/C/Y/WV0")
This is intended to do what this dos window command would do...
xxcopy "C:Documents and SettingsJim MihalskiDesktop*.*" "C:Documents and SettingsJim MihalskiMy Documents" /M/C/Y/WV0
The intent is to copy all files with archive flag set in the desktop folder to the mydocuments folder...
I never seem to get the quote placement right... Can anyone tell me an easy rule or method to follow when constructing a line like the one above.... or how can I show the resulting line with scite or autoit...
Thank you very much...