ON and REBOOT questions

May 20, 2008
3,515
4
Elkridge, MD, USA
In the REBOOT command, what is the difference between the respective
final states of the system when using the /P (power off) and the /S (shut
down) options?
ON CLOSE is documented as the event of closing the TCC tab. Is the event
of closing the stand-alone window of the current TCC instance also a trigger
of the associated action?
ON SHUTDOWN is documented as the event of "the system is shutting down".
Is this actually "shutting down Windows" as part of any one of the actions
of restart, power off, or shut down?
--
Steve
 

rconn

Administrator
Staff member
May 14, 2008
12,406
152
In the REBOOT command, what is the difference between the respective final states of the system when using the /P (power off) and the /S (shut down) options?

None. (Though they go about it in slightly different ways.)

ON CLOSE is documented as the event of closing the TCC tab. Is the event of closing the stand-alone window of the current TCC instance also a trigger of the associated action?

Yes.

ON SHUTDOWN is documented as the event of "the system is shutting down". Is this actually "shutting down Windows" as part of any one of the actions of restart, power off, or shut down?

Yes.
 
May 20, 2008
3,515
4
Elkridge, MD, USA
rconn wrote:

| ---Quote (Originally by Steve Fbin)---
|| In the REBOOT command, what is the difference between the respective
|| final states of the system when using the /P (power off) and the /S
|| (shut down) options?
| ---End Quote---
|
| None. (Though they go about it in slightly different ways.)

Can you please either explain, or provide a reference to an explanation
of the "slightly different ways"? Is there practical difference?
--
Steve
 
Similar threads
Thread starter Title Forum Replies Date
T How to? retain command history across reboot? Support 6
fishman@panix.com First TCC instantiation after reboot does not work. Support 17
rps Reboot and exit reason Support 10
D WAD Reboot doesn't shutdown or restart Support 13
cgunhouse AutoStart on Reboot Support 4
F Sending "Y" to chkdsk to run on C at next reboot Support 25
vefatica Questions about aliases. Support 1
vefatica Long file names - a few questions Support 2
C DIFFER questions.... Support 66
Mezlo menu batch file questions Support 25
S FORUM questions Support 2
C z_newmove.btm questions Support 6
S Documentation Questions re: ON Support 13
C TPIPE questions.... Support 5
mikea Questions re: Internal ZIP command Support 5
S PDIR and @LABEL questions Support 4
S Questions about new build announcements Support 0
C tpipe questions Support 5
aedthuio Some questions Support 10
C @shfolder questions Support 7
gschizas Licensing questions Support 3
S Documentation File reading questions Support 4
M Just some questions about TCC "hanging" and PIDs... Support 4
ehab aboudaya How to? 2 GUI questions and return HWND using TakeCommandIPC Support 3
S Questions about @winapi/@capi Support 8
M Questions about @Assoc and @FType... Support 18
M A questions about @Files "+d" Support 35
mikea TCC v12 startup questions Support 15
S xxxMONITOR command questions Support 1
mikea BDEBUGGER/IDE questions Support 16
P Installer questions/gripes Support 2
C General questions Support 9
vefatica Vista questions Support 4
H IDE v10 questions Support 2
S V10 questions Support 8
C Few questions and suggestions Support 2
nikbackm IFTP questions Support 3

Similar threads