Storage Software
cancel
Showing results for 
Search instead for 
Did you mean: 

sssu and vbscript

nicolas figaro
Occasional Contributor

sssu and vbscript

Hi,

I'd like to run some sssu commands using a vbscript.
I create a file which contains the commands to run with sssu FILE.
But as I try to run the sssu using this kind of script :
WshShell.CurrentDirectory = SSSU_PATH
SSSU = sssu & "FILE script.txt > sssu_out.txt"
Set oSSSU = WScript.CreateObject("WScript.Shell")
oSSSU.Exec(SSSU)

I don't get any result in the sssu_out.txt.

As anyone ever tried to run (successfully) a sssu in a vbscript ?

thanks

nicolas figaro
2 REPLIES
nicolas figaro
Occasional Contributor

Re: sssu and vbscript

this is a typical vbscript hint
oSSSU.Run "%comspec% /c " & SSSU_CMD, 1, False



Matthias Rettl
Frequent Advisor

Re: sssu and vbscript

nicolas,

could you be so kind and post some sample scripts (sssu and vbs) to this thread?

thank you in advance, salu,
matthias