Advertisement
Guest User

Untitled

a guest
Dec 5th, 2016
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. strings = {
  2. "@echo offnsetlocalnPATH = C:Program FilesWolfram ResearchMathematica11.0;%PATH%",
  3. "necho Calculation with MathKernel would be herenping localhost -n 3 > nul"",
  4. "nnendlocalnecho.necho Batch run completednecho.necho Press any key to close . . .npause > nul"};
  5.  
  6. stream = OpenWrite["batchfile.bat"];
  7. WriteString[stream, #] & /@ strings;
  8. Close[stream];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement