TIP: Click on subject to list as thread! ANSI
echo: batpower
to: Ken Hrynchuk
from: Ben Carpenter
date: 2003-02-10 15:19:46
subject: Re: `Pop-up` w/Batches?

-=> Quoting Ken Hrynchuk to Ben Carpenter <=-

 KH> I have a long-standing annoyance, when running .BAT files from .PIFs
 KH> in Win9x. Sometimes, after completion of the batch, Win will show this:
 KH> 
 KH> "Your pop-up program is ready to run. When you have finished using
 KH> it, press Ctrl+C to close this window and return to Windows."
 KH> 
 KH> I've tried everything I can think of (.PIF settings, .BAT tricks) to
 KH> prevent the above from occurring; does anyone know how to stop it?
 KH> 
 BC>  Anyway if you look at the properties of the "pif" file under the
 BC>  program tab is a box that you can check to close on exit.  Try
 BC> that
 BC>  along with having the last line of your batch file read "exit" and
 BC> see
 BC>  if this helps.
 KH> 
 BC>  Maybe this is something you have already tried but it is all I
 BC> could
 BC>  think of right now.
 KH> 
 KH> Thanks, Ben; I have tried both of the above, with no success. Please
 KH> see my reply to Alan Zisman for more details on the problem. BTW,
 KH> Charles Jennings has come up with a quick 'n' dirty solution, over in
 KH> BATPOWER. He suggests using KPUSH 3 CR 3. KPUSH is inside HORST32.ZIP,
 KH> found at: 
 KH> http://home.mnet-online.de/horst.muc

 Ken

 I just thought of something else.  Some time back I begin having
 trouble with a batch file (not the same thing you were having) but it
 turned out to be that I had an unprintable character in the batch file.
 It looked like a space but it was some kind of character that did not
 print but it caused problems in the batch file not behaving as it
 should.

 I ended up rewriting the batch from scratch and the trouble went away
 so started looking at the old file with a hexdec editor and found the
 bad character.  Deleted it and then the batch would behave.

... Ben    

... A child's middle name is so he can tell when he's REALLY in trouble.
--- Blue Wave/DOS v2.30
* Origin: COMM Port OS/2 juge.com 204.89.247.1 (281) 980-9671 (1:106/2000)
SEEN-BY: 633/267 270
@PATH: 106/2000 1 379/1 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.