Which language are you using? In .NET it would be Code: ProcessStartInfo psi = new ProcessStartInfo("cscript"); psi.Arguments = "\"%PROGRAMFILES%\Microsoft Office\Office14\ospp.vbs\" /act"; Process.Start(psi);
i appreciate your help im not even sure what language this is called .. would you like to try? - Start > Run > taskschd.msc - That brings up Task Scheduler - schedule a task to run; the action is run Command Prompt = i can get this to work.. the problem i am having is: getting Command Prompt to run with an argument
that's what i thought too but the Arguments don't work .. Command Prompt launches with no commands .. can you try on your computer to see if it's just my computer ?
I didn't get you. Creating a task to run cscript with "%PROGRAMFILES%\Microsoft Office\Office14\ospp.vbs" /act" as argument works fine.
you are running cmd.exe and should be cscript.exe then in the argument box type "%PROGRAMFILES%\Microsoft Office\Office14\ospp.vbs" /act" also dont forget to kill the keygen.exe after