Go Back   PCMech Forums > Windows Support > Windows Legacy Support (XP and earlier)

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 06-03-2003, 10:03 PM   #1
Member (10 bit)
 
Join Date: Nov 2000
Location: Plantation FL
Posts: 1,002
'Create a one-line batch file ..' How?

I'm trying to get rid of an error msg in a DOS program :
"Your pop-up program is ready to run. When you have finished using it, press CTRL+C to close this window and return to Windows" ( window will not close except ctrl+c )

I don't understand the following instructions that I found.
Appreciate if you could walk me through them step by step. eg. at C:/ prompt type xyz and then type abc etc

SOLUTION:
" You can configure the batch file to close automatically using the following steps:
1. Create a one-line batch file that reads: command.com /c
2. Save the batch file with any name (such as Close.bat). Save the file in the Windows folder.
3. Use the right mouse button to click the shortcut that calls the batch file or PIF that calls the TSR, and then click Properties on the menu that appears.
4. Click the Program tab.
5. On the Batch File line, enter the name of the batch file you created in step 2 (such as Close.bat).
6. Click OK. "

THanks !
Chris

PS: This is a DOS reservation program that I just loaded on a new PC and am getting the error message when I try to
load the previously backed up data files into the program.
Parangles is offline   Reply With Quote
Old 06-03-2003, 10:47 PM   #2
Member (14 bit)
Premium Member
 
TwoRails's Avatar
 
Join Date: Jan 2002
Location: The Great NorthWest
Posts: 12,594
Quote:
'Create a one-line batch file ..' How?
Go into Any TEXT editor, like Notepad. Or if you use a Word processor, make sure to save the file as TEXT. (ie: with the .txt extention)

Do what step one sez: type in ONE line that states:

command.com /c

and then just save the file.

HtH

TwoRails
TwoRails is offline   Reply With Quote
Old 06-04-2003, 07:27 AM   #3
Member (10 bit)
 
Join Date: Nov 2000
Location: Plantation FL
Posts: 1,002
Thanks Two Rails!
My newly created file 'closepop.txt' is in Windows, and its name entered in the batch file line in the desktops .PIF shortcut to the program, but when I hit ' restore' command(from backed up data) I'm still just getting the error msg.

Please look at my source for a solution:
Windows Msg: Your Pop-Up Program Is Ready to Run (Q85643) <http://support.microsoft.com/default...b;EN-US;q85643>

Chris

PS: is that a space between com and / ?
Ive tried both with and without a space.

PPS: I changed the filename to closepop.bat but its still not working.

Last edited by Parangles; 06-04-2003 at 08:51 AM.
Parangles is offline   Reply With Quote
Old 06-04-2003, 07:21 PM   #4
Member (14 bit)
Premium Member
 
TwoRails's Avatar
 
Join Date: Jan 2002
Location: The Great NorthWest
Posts: 12,594
Dooh... slaping self in the head.... I forgot, somehow... to remind you to rename your file with a .bat file extention!! Very sorry.... It should be:

closepop.bat

Give that a try!

TwoRails.... on one rail on that post! LOL
TwoRails is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 11:57 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2