中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-13 02:01
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS学习入门 & 精彩文章 (教学室) » Question about batch files
Printable Version  636 / 2
Floor1 老司机 Posted 2003-11-14 00:00
初级用户 Posts 3 Credits 113
How do I assign a hotkey to a batch file in Win98?
I just created a batch file on the desktop and set a hotkey for it, but the hotkey simply doesn't work, depressing.
Also, after running a batch file in Win98, how can I make the batch file window close automatically? I added "exit" as the last line of the batch file, but it didn't work. I just started learning DOS, so this question is really newbie-level. Please give me some advice, experts!
Floor2 iceboy Posted 2003-11-14 00:00
银牌会员 Posts 512 Credits 1,681
The hotkey set for a batch file on the desktop only works on the desktop, that is, only when no other window is open.
As for closing automatically, that's also a settings issue. Try it yourself, I'm using Win2000.
Floor3 老司机 Posted 2003-11-15 00:00
初级用户 Posts 3 Credits 113
I've got the auto-close part working.
But there's still a problem with the shortcut: Win2000 works, but WinME just won't, depressing.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023