I've tried numerous quoting permutations of the runret command below, and none have worked. Can someone please tell me how to quote this?
text runret("""cmd /c C:\Windows\System32\Robocopy.exe"" ""C:\Users\bernie\AppData\Roaming\XYplorer Backup"" ""C:\Users\bernie\Desktop\XYplorer""" /MIR);
-Thanks
Issue with quoting runret command
Re: Issue with quoting runret command
/MIR is NOT inside the command block and you don't need cmd to invoke a standalone command line tool like robocopy
Easiest way:
Easiest way:
Code: Select all
text runret("""robocopy.exe"" ""C:\Users\bernie\AppData\Roaming\XYplorer Backup"" ""C:\Users\bernie\Desktop\XYplorer"" /MIR");
One of my scripts helped you out? Please donate via Paypal
Re: Issue with quoting runret command
Thank you. That's a lot of quotes!highend wrote:/MIR is NOT inside the command block and you don't need cmd to invoke a cmd tool like robocopy
Easiest way:Code: Select all
text runret("""robocopy.exe"" ""C:\Users\bernie\AppData\Roaming\XYplorer Backup"" ""C:\Users\bernie\Desktop\XYplorer"" /MIR");