View Full Version : Log off after completion?
unknownsoldierX
4th October 2008, 08:49
I often use the family PC to process DVDs. To ensure that nothing interferes with DVD-RB, like someone accidentally clicking cancel on a CCE window, I lock the desktop.
It would be nice if I could set DVD-RB to process a DVD, or a batch of DVDs, and have it log of after completion. That way I don't have to be around to unlock the computer so someone else can use it.
blutach
4th October 2008, 09:11
Please see the file menu - there are 2 Shutdown after completion items.
Regards
unknownsoldierX
4th October 2008, 10:03
That will turn off the PC, correct? I leave the PC on 24/7, so I am looking for a way to log off or restart the computer.
jdobbs
5th October 2008, 00:04
No option for that. You can shutdown -- but that's the extent of it.
unknownsoldierX
5th October 2008, 00:10
Would you consider adding it as an option? Like giving the choice to shutdown, restart, hibernate, sleep, etc. Or even a way to auto-run external programs after DVD-RB completes?
mgh
5th October 2008, 06:09
You can create a batch file for example
"F:\VDUBMOD\VirtualDubMod_1_5_10_2_b2542\VirtualDubMod.exe"
"C:\Program Files\megui\MeGUI.exe"
exit
the above loads vdubmod and when i exit that, loads megui automatically
you can use shutdown as the last command-syntax from windows help file
shutdown [{-l|-s|-r|-a}] [-f] [-m [\\ComputerName]] [-t xx] [-c "message"] [-d[u][p]:xx:yy]
Parameters
-l
Logs off the current user, this is also the defualt. -m ComputerName takes precedence.
-s
Shuts down the local computer.
-r
Reboots after shutdown.
-a
Aborts shutdown. Ignores other parameters, except -l and ComputerName. You can only use -a during the time-out period.
-f
Forces running applications to close.
-m [\\ComputerName]
Specifies the computer that you want to shut down.
-t xx
Sets the timer for system shutdown in xx seconds. The default is 20 seconds.
-c "message"
Specifies a message to be displayed in the Message area of the System Shutdown window. You can use a maximum of 127 characters. You must enclose the message in quotation marks.
-d [u][p]:xx:yy
Lists the reason code for the shutdown. The following table lists the different values. Value Description
u Indicates a user code.
p Indicates a planned shutdown code.
xx Specifies the major reason code (0-255).
yy Specifies the minor reason code (0-65536).
/?
Displays help at the command prompt.
Remarks
If you indicate a major and minor reason code, you must first define these reason codes on each computer for which you plan to use the particular reason. If the reason codes are not defined on the target computer, Event Viewer cannot log the correct reason text.
Examples
To shut down \\MyServer in 60 seconds, force running applications to close, restart the computer after shutdown, indicate a user code, indicate that the shutdown is planned, log major reason code 125, and log minor reason code 1, type:
shutdown -r -f -m \\MyServer -t 60 -d up:125:1
Formatting legend
Format Meaning
Italic Information that the user must supply
Bold Elements that the user must type exactly as shown
Ellipsis (...) Parameter that can be repeated several times in a command line
Between brackets ([]) Optional items
Between braces ({}); choices separated by pipe (|). Example: {even|odd} Set of choices from which the user must choose only one
Courier font Code or program output
Related Topics
unknownsoldierX
5th October 2008, 11:12
I am familiar with creating simple batch files and I know how to use the shutdown commands, but I'm not sure how to go about it with DVD-RB.
Are you saying I could create a batch file that will launch DVD-RB, wait for it to finish, and then issue the shutdown command?
mgh
5th October 2008, 11:24
exactly:)
/dvdrb.exe
shutdown -r -f
will load dvdrb-you set it up as you want-set it to close when it finishes- when dvdrb closes, the batch file will then restart the computer after closing everything else
shutdown -l maybe what you are looking for.
unknownsoldierX
5th October 2008, 11:33
Excellent. That will be perfect.
Thanks everyone.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.