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
"""C:\Program Files\ccc""" -C server -t 13 -l -R -s 03/04/2013 /D/ > E:\m_bkup\mk.txt
Option explicit Dim WshShell,objExec
list -C [U]<client name>[/U] -t 13 -l -R -s [U]<previous_day>[/U] /D > D:\Prgrams\list_[U]currentdate[/U].txt
Set objWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\\" & splitArray(0) & "\root\cimv2") 'Computer
Leave a comment: