I want to use the Run method to execute the copy command.
How do I define the variable which including the quote to pass strcommand e.g c:\"test 1"
my command is:
wsh.run "cmd /c dir c:\"test dir" ",0, true
any help would be appreciate
Regards,
Hinh
We use robocopy to copy files from one directory to other.
Can anyone tell me either of the copyfolder and copyfile method does the same thing as robocopy.exe ?
Regards,
Hinh Tran
Hi,
I am new to the VBscript tool. Does anyone know is there Ping utility object or method for VBscript.
Basically I want to ping the IP address and want to capture the result of either success or fail of the ping command.
Regards,
Hinh
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.