China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-06 04:02
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » Question about startup and shutdown scripts View 660 Replies 4
Original Poster Posted 2007-10-18 10:29 ·  中国 广东 深圳 移动
初级用户
Credits 24
Posts 9
Joined 2007-08-01 11:16
19-year member
UID 94419
Gender Male
Status Offline
Under XP
for startup and shutdown scripts,
aside from setting them manually under security policy,
can they be configured automatically with a batch file?
Floor 2 Posted 2007-10-18 14:43 ·  中国 云南 西双版纳傣族自治州 电信
初级用户
★★
Credits 100
Posts 52
Joined 2006-03-02 15:06
20-year member
UID 51231
From 云南
Status Offline
Sure


Just use shutdown
Floor 3 Posted 2007-10-18 15:04 ·  中国 广东 深圳 移动
初级用户
Credits 24
Posts 9
Joined 2007-08-01 11:16
19-year member
UID 94419
Gender Male
Status Offline
shutdown can configure startup and shutdown scripts?
How come I never noticed~~ It seems there isn't any such parameter at all.
Floor 4 Posted 2007-10-18 18:12 ·  中国 江苏 南京 电信
初级用户
Credits 48
Posts 20
Joined 2007-10-17 01:05
18-year member
UID 99934
Gender Male
Status Offline
For home use? Or some other place? Wouldn't it be OK to just use a startup script directly? If the OP absolutely wants to clean up junk generated during use when shutting down, here's an idea for the OP: use exescope or similar software to modify the Start menu, change the shutdown button, and replace the shutdown button with a BAT or some other script!
Floor 5 Posted 2007-10-18 18:15 ·  中国 江苏 南京 电信
初级用户
Credits 48
Posts 20
Joined 2007-10-17 01:05
18-year member
UID 99934
Gender Male
Status Offline
Supplement: this excludes the possibility that the OP is using it in an internet cafe! Because internet cafes have restore software. If the OP absolutely has to use it in an internet cafe, then think of a way to monitor key system processes like winlogon, and use the actions of system processes as trigger conditions to run the script!

[ Last edited by nayezi on 2007-10-18 at 06:18 PM ]
Forum Jump: