WMIC bug SP1 to SP2

G

Guest

Why does the following command work when issued from and XP sp1 machine, but
fails on SP2? How can this be made functional on an SP2 machine? The error
on SP2 is invalid verb switch?

Here is the command.
wmic /node:mad:"C:\MyServerList.txt" /user:domain\userid process call create
"RunDLL32 shell32.dll,Control_RunDLL %SystemRoot%\system32\TIMEDATE.cpl,,/Z
(GMT-06:00) Central America"

Thanks,
 
G

Guest

I should correct myself - the error is invalid format. It appears that wmic
is parsing the command being passed to the remote machine. How might I
escape the ','. If the command is run without commas it doesn't throw and
error - but of course it doesn't work properly either.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top