VB and VBA Users Source Code: TIP: Closing a batch file on exit
[
Home
|
Contents
|
Search
|
Reply
| Previous | Next ]
VB/VBA Source Code
TIP: Closing a batch file on exit
By:
Andrew Baker
Email (spam proof):
Email the originator of this post
Date:
Thursday, March 21, 2002
Hits:
813
Category:
Files/Directories/IO
Article:
If you shell dynamically created batch files (.bat) from VB then you won't be able to set "close on exit" property of the file, so the batch file may appear to stay open once it has completed. To ensure they close, end all you batch files with: @echo off cls exit As if the window is blank it doesn't stay open.
Terms and Conditions
Support this site
Download a trial version of the Excel Workbook Rebuilder