how can i close automaticaly (alt+f4) a dos -programme when it finishes?
how can i close automaticaly (alt+f4) a dos -programme when it finishes?
Dear Guest
Please say more about the DOS programme/s you have in mind.
Are they batch files you have writtenyourself or applications you have installed ?
Also, what environemnt ar eyou running them in ?
Thanks
Stephanos
os windows. a dos programme written in c with special code inside so when it finishes to free the memory it have occupied without the user to push alt-f4 in order to close it.
> a dos programme written in c with special code inside so when
> it finishes to free the memory it have occupied without the user
> to push alt-f4 in order to close it.
Um, I hate to break it to you, but your programs usually free their memory when they close without you having to do anything. Or at least they're supposed to.
Anyway, if it's in windows, just create a pif for it that closes it.
Quzah.
Hope is the first step on the road to disappointment.
no if the programme exits with exit(o) the dos-window remains on the screen and you have to push alt-f4.
In a windows environment:
Open the program icon's properties, click the program tab, check the "close on exit" box. You must do this individually if using a shortcut.
you are right. i hadn't noticed. i thought that was happening with c code included in the programme. thank's.