I recently found that LINQPad can execute shell commands. Can someone show me an example how to use LINQPad queries to execute batch job?
A:
Just call the batch file using the shell execute command:
Util.Cmd (@"c:\batch\MyBatchFile.bat");
Joe Albahari
2010-04-01 05:17:37
I tried to launch IE doesn't work:Util.Cmd (@"""C:\Program Files\Internet Explorer\iexplore.exe""");
cchang
2010-04-02 19:46:47
A:
Sorry I didn't make my question clear. What I mean is make .linq file become my batch file. That is, schedule a batch job written in .linq file and use LINQPad as the command to execute it.
cchang
2010-04-02 16:13:02