SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Pastimes : Computer Learning -- Ignore unavailable to you. Want to Upgrade?


To: Bob Pittsfield who wrote (19070)4/25/2001 9:59:09 AM
From: PMS Witch  Read Replies (1) | Respond to of 110642
 
EXIT in .BAT file...

You must check the Close on Exit box to get the window closed. It doesn't matter if EXIT is in the .BAT file or not in this case. (When I converted my stuff from DOS to Windows, I had to remove EXIT from many .BAT files to stop the window from closing on me at awkward times.)

I tripped up through poor testing. I tested the .BAT file first. Then I tested the .PIF file. Both worked as expected. Then I posted. I should've tested the .BAT and .PIF together before posting. (I had a bunch of stuff running and I didn't want to re-boot, which would've been necessary for a complete test.)

I think Bicycle had the best approach: One file doing all the work.

Cheers, PW.

P.S. Now that you've expressed an interest in learning stuff...

You could create a .JOB file to do this work. Open Schedule Manager and create a new scheduled task, giving it the job of cleaning out your unwanted files. Windows Help does a good job of taking you through the necessary steps.