Browse Community
Help
Log In
Responses(1)
Solutions(0)
Eric Chipko
1 Message
0
May 6th, 2010 10:00
EcmEventLog is documented in the help but I have tried to do much with it.
For your specific issue with quotes I eventually got this to work
Lots of double quoting.
strParser = EcmAgtContext.GetHelperAppFile("parsemif.clsparse")
strCommand = "cscript /nologo " & EcmAgtContext.JobDownloadDirectory & "\csv2mif.vbs /utility:""schtasks.exe"" /UtilParms:""/query /v /fo csv"" /ComponentName:""Scheduled Tasks 2003"" /GroupName:""Scheduled Tasks"" /GroupClass:""Task"" "
EcmScriptRuntime.CmdExecute strCommand & " > " & chr(34) & strParser & chr(34) & " 2>&1", 120
Dell Support Resources
View All
Top
Eric Chipko
1 Message
0
May 6th, 2010 10:00
EcmEventLog is documented in the help but I have tried to do much with it.
For your specific issue with quotes I eventually got this to work
Lots of double quoting.
strParser = EcmAgtContext.GetHelperAppFile("parsemif.clsparse")
strCommand = "cscript /nologo " & EcmAgtContext.JobDownloadDirectory & "\csv2mif.vbs /utility:""schtasks.exe"" /UtilParms:""/query /v /fo csv"" /ComponentName:""Scheduled Tasks 2003"" /GroupName:""Scheduled Tasks"" /GroupClass:""Task"" "
EcmScriptRuntime.CmdExecute strCommand & " > " & chr(34) & strParser & chr(34) & " 2>&1", 120