Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Executing and closing a batch file in VB

Status
Not open for further replies.

mike777

Programmer
Jun 3, 2000
387
US
I open a batch file

Code:
shell "c:\batch.bat",vbhide

The batch file runs and finishes, but it leaves a "winoldap" item in memory each time it runs, and depletes system memory. Any way to get rid of this "windoldap" progmatically?
Thanks for your help.
[sig][/sig]
 
Do a search for WaitForSingleProcess in this forum. [sig]<p>nick bulka<br><a href=mailto: > </a><br>[/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top