|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#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. |
|
|
|
|
|
#2 | |
|
Member (14 bit)
Premium Member
Join Date: Jan 2002
Location: The Great NorthWest
Posts: 12,594
|
Quote:
Do what step one sez: type in ONE line that states: command.com /c and then just save the file. HtH TwoRails |
|
|
|
|
|
|
#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. |
|
|
|
|
|
#4 |
|
Member (14 bit)
Premium Member
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 |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|