Shutdown

Shutdown

Shuts down Windows XP and optionally restarts the computer or logs off the current user.

Syntax

 shutdown [[-l | -s | -r | -a]] [-f] -m[\\computer]] [-t xx] [-c "msg"] [-d[u][p]:xx:yy] 

Parameters

 

Parameter

Purpose


[l]

Logs the current user off.

[s]

Shuts the local computer down.

[r]

Restarts the computer once it has been shut down.

[a]

Aborts the shutdown process.

[f]

Forces the termination of active applications.

-m[\\computer]]

Allows for the specification of a remote computer.

[t xx]

Specifies the amount of time to wait before the shutdown occurs.

[c 'msg']

Displays a message in the System Shutdown dialog message area.

[d[u][p]:xx:yy]

Lists a reason code for the shutdown (u = user code, p = planned shutdown code, xx = a major reason code with a value between 0 and 255, and yy = a minor reason code with a value of 0 to 65536).



Microsoft Windows XP Professional Administrator's Guide
Microsoft Windows XP Professional Administrators Guide
ISBN: 1931841969
EAN: 2147483647
Year: 2005
Pages: 358

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net