How to run a .lnk, .bat or .exe file through Program Command Shape

Document created by Rabia_Sozkesen Employee on Jan 19, 2016Last modified by ruchika_yadav on Mar 1, 2016
Version 2Show Document
  • View in full screen mode
Sometimes below command may not work in Program Command shape.


> START C:\test\example\example.bat
No matter where the program or script is located, its runtime execution context is the Atom’s root directory. If your program or script contains relative file or directory references, you need to add a “cd” command within the program or script to reset the execution context:


In this scenario the command entered should be like below:


> cmd /c C:\test\example\example.bat