• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

shutting a DOS window

IBhacknU

Diamond Member
Need a bit of help here.

Using Windows98, I have a small batch program witch grabs a file via FTP. When the file is done being gotten, I am trying to close the DOS window.

the exit command does not work. What command do I need in my BATCH FILE to close the DOS window.

ideas?
 
I don't know of a DOS command that will close the DOS window in Win98, but you can probably do it like this:

Right click on the batch file (from Explorer)
Click Properties
Go to the Program tab
Put a check mark in the "Close on exit" box
Click OK

I also usually tell my batch files to run minimized as well, but that's just my preference.

Hope this helps!
 
Do as ATLien247 says, but add the EXIT command as the final line in your batch file. I usually add the PAUSE command just before EXIT to be sure the file has run and executed all commands. I don't like them run minimized for that very reason.

Rob
 
you got to first say "Quit" because your still in FTP mode..
The word for FTP is quit and not exit.. that is why its not responding.

After that you can say exit.

 
even after 'quit'ting FTP, the exit command would not close the DOS window. Checking off the close on exit box does the trick though.

THANKS!
 
Back
Top