The other point is well taken that the SYSTEM instead of END should be used.
However, since the program reboots then system/end is not a problem.
And since the Batch program being called starts reboot it does not care - the batch window is closed during the reboot process.
Then the PAUSE in the batch program waits for keypress and returns to the call which declares the reboot failed.
btw: the call to /sbin/shutdown in Linux is actually a "wrapper" and might not reboot.
Erik.
However, since the program reboots then system/end is not a problem.
And since the Batch program being called starts reboot it does not care - the batch window is closed during the reboot process.
Then the PAUSE in the batch program waits for keypress and returns to the call which declares the reboot failed.
btw: the call to /sbin/shutdown in Linux is actually a "wrapper" and might not reboot.
Erik.

