I want to execute a .cmd file from the UI.
I tried the following code. But it is not working. It just passes that line giving no error nor executing.
Did I miss anything?
How else could it be done?
Thanks,
Dinesh M
I tried the following code. But it is not working. It just passes that line giving no error nor executing.
Code:
var wshell = Server.CreateObject("WScript.Shell") ;
wshell.Run("D:\\inetpub\\wwwroot\\accenture\\core\\maintenance\\commandline\\mail\\RepeatMacroProcessingTask.cmd");
wshell=null;
How else could it be done?
Thanks,
Dinesh M