Advertisement
Guest User

Untitled

a guest
Feb 19th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.86 KB | None | 0 0
  1. emacs foo.txt &
  2.  
  3. Starts a separate window to run a specified program or command.
  4.  
  5. START ["title"] [/D path] [/I] [/MIN] [/MAX] [/SEPARATE | /SHARED]
  6. [/LOW | /NORMAL | /HIGH | /REALTIME | /ABOVENORMAL | /BELOWNORMAL]
  7. [/AFFINITY <hex affinity>] [/WAIT] [/B] [command/program]
  8. [parameters]
  9.  
  10. "title" Title to display in window title bar.
  11. path Starting directory
  12. B Start application without creating a new window. The
  13. application has ^C handling ignored. Unless the application
  14. enables ^C processing, ^Break is the only way to interrupt
  15. the application
  16. I The new environment will be the original environment passed
  17. to the cmd.exe and not the current environment.
  18. MIN Start window minimized
  19. MAX Start window maximized
  20. SEPARATE Start 16-bit Windows program in separate memory space
  21. SHARED Start 16-bit Windows program in shared memory space
  22. LOW Start application in the IDLE priority class
  23. NORMAL Start application in the NORMAL priority class
  24. HIGH Start application in the HIGH priority class
  25. REALTIME Start application in the REALTIME priority class
  26. ABOVENORMAL Start application in the ABOVENORMAL priority class
  27. BELOWNORMAL Start application in the BELOWNORMAL priority class
  28. AFFINITY The new application will have the specified processor
  29. affinity mask, expressed as a hexadecimal number.
  30. WAIT Start application and wait for it to terminate
  31.  
  32. start emacs foo.txt
  33.  
  34. Set oShell = WScript.CreateObject("WScript.Shell")
  35. Set oProc = oShell.Run "<your command here>",0,True
  36.  
  37. start /B "" "D:devsublime3Sublime Text 3subl.exe" "-s" "%USERPROFILE%Dropboxdevapis*.markdown"
  38.  
  39. run window+R->taskschd.msc->add a task
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement