开发者

How do I use LINQPad to do execute batch job?

开发者 https://www.devze.com 2022-12-25 20:00 出处:网络
I recently found that LINQPad can execute shell commands. Can someone show me an example how to use LINQPad queries to execute batch job?

I recently found that LINQPad can execute shell commands. Can someone show me an example how to use LINQPad queries to execute batch job?


Sorry I didn't make my question clear. What I mean is make .linq file bec开发者_JAVA百科ome my batch file. That is, schedule a batch job written in .linq file and use LINQPad as the command to execute it.


Just call the batch file using the shell execute command:

Util.Cmd (@"c:\batch\MyBatchFile.bat");
0

精彩评论

暂无评论...
验证码 换一张
取 消