Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

CMD Window is not closing automatically after the command executes in a batch file

$
0
0

Hello All,

I have created a batch file which calls batch of an application. The application runs; however, the DOS window does not exit.  See below what i have in the batch file. I am using windows 7. Any help would be appreciated. 

@echo off

set LANG=C

set 
PATH="o:\Creo2\Creo2_x32\Parametric\";"o:\Creo2\Creo2_x32\Parametric\bin;%PATH%"

c:

if not exist c:\tmp mkdir c:\tmp

if not exist c:\users\%username%\creo2_pdmlink9_1 mkdir c:\users\%username%\creo2_pdmlink9_1

set PTC_WF_ROOT=c:\users\%username%\creo2_pdmlink9_1

cd c:\users\%USERNAME%\creo2_pdmlink9_1

cls

call "o:\Creo2\Creo2_x32\Parametric\bin\parametric.bat"

exit;

exit;


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>