well the first clue is that "c:\winnt\system32\cmd.exe" is NT specific. Should be %comspec%.

But then you probably are not using "c:\winnt\system32\cmd.exe" or else you would not be getting an "invalid switch" error.

I don't have any Wintendos to test on but my guess it the /Q switch. Spark up a DOS box and enter COMMAND /? to see the valid switches.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.