Hi,
I am just trying to execute the below command in command prompt and it works perfect
but when i try to execute the script i am getting compilation error that expected end of statement.
I have tried with both Wshshell.run and wshshell.exec, but no luck, please help me resolving the issue
I am just trying to execute the below command in command prompt and it works perfect
Code:
"""C:\Program Files\ccc""" -C server -t 13 -l -R -s 03/04/2013 /D/ > E:\m_bkup\mk.txt
Code:
Option explicit
Dim WshShell,objExec
Set WshShell = CreateObject("Wscript.Shell")
WshShell.Exec """C:\Program Files\ccc""" -C server -t 13 -l -R -s 03/04/2013 /D/ > E:\m_bkup\mk.txt