How to automatically close command prompt window after batch file execution.
I tried command Start "" & Exit 0
but it's not working.
Start ""
@ECHO OFF
C:
cd c:\wamp\www\phpfile
php genCSV.php
"c:\program files\coreftp\coreftp.exe" -s-O -site UPLH -u D:\Files\out\*.* -p /Import/
del /Q c:\wamp\www\txt\*.*
Solution
I used "exit /B" at the of script as per Joey's below answer.