HelpJayPlz
MIS
Hi there. I'm sure that I'm just missing something simple here, but I can't get this command to apply the switches 
The command works because it pops up a shell windows, however I know it's not applying the switches because /q means Quiet no confirmation.
WshShell.Run ("%comspec% /C C:\Test\DelProf.exe /q /i /d:28 /C:\\%ComputerName%")
I've looked around the forum and tried a few of the similar posts but no dice.
The evialent DOS command is this;
C:\Test\DelProf.exe /q /i /d:28 /C:\\%ComputerName%
The command works because it pops up a shell windows, however I know it's not applying the switches because /q means Quiet no confirmation.
WshShell.Run ("%comspec% /C C:\Test\DelProf.exe /q /i /d:28 /C:\\%ComputerName%")
I've looked around the forum and tried a few of the similar posts but no dice.
The evialent DOS command is this;
C:\Test\DelProf.exe /q /i /d:28 /C:\\%ComputerName%