Batch Script - SHUTDOWN



This batch command shuts down a computer, or logs off the current user.

Syntax

shutdown

Example

@echo off 
shutdown

Output

If the user executing the batch files has the relevant rights, the computer will be shutdown.

batch_script_commands.htm
Advertisements