when running a "sc sdshow spooler" from the command line i get SDDL for spooler service.
so why doesnt below work?
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "%comspec% /c sc sdshow spooler",0,true
also when i try
Set WshShell = WScript.CreateObject("WScript.Shell")
result = WshShell.Run ("%comspec% /c" & "sc sdshow spooler",0,true)
wscript.echo result
i get result returned '0'.
does anyone have any ideas?
thsanks.
so why doesnt below work?
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "%comspec% /c sc sdshow spooler",0,true
also when i try
Set WshShell = WScript.CreateObject("WScript.Shell")
result = WshShell.Run ("%comspec% /c" & "sc sdshow spooler",0,true)
wscript.echo result
i get result returned '0'.
does anyone have any ideas?
thsanks.