[VLC] Scheduling the shutdown of your PC at the end of a video

Last update on October 19, 2009 11:23 AM by Jeff
Published by jak58

[VLC] Scheduling the shutdown of your PC at the end of a video







VLC possess an interesting feature that allows you to scheduling the shutdown of your PC at the end of a video.

Principle


First of all you must create a file that launches VLC, adds the video you want to view to the playlist and once the playlist is finished, and finally turns off the computer. You will need to modify this file with the film (s) you want to see, and run this file.

Creating the file


Right Click/New/Text Document


Within this file, place a small code like this:

C:\Program Files\VideoLAN\VLC\vlc.exe" C:\film1.avi C:\film2.avi vlc://quit
shutdown -s -t 60


The first line launches VLC calling vlc.exe. If your installation path is different, change it to match.
film1.avi file and the film2.avi file : are videos to the playlist.
vlc://quit : this line tells VLC to quit after the playlist is finished.

shutdown -s -t 60: Intiates the shutdown after 60 seconds(once VLC is closed)



Once this step is completed:
  • save (CTRL + S)
  • rename it vlc.bat
  • Run the file vlc.bat A black window is launched simultaneously with VLC: do not close it.

Cancelling automatic shutdown:


Start/ Run (or Windows key + R)/type cmd/ press Enter
type shutdown -a / press Enter.

It is also possible to create a shortcut on the desktop by putting on shutdown -a as target link.
Best answers for « Scheduling the shutdown of your PC at the end of a video » in :
Execute a script a startup and shutdown ShowExecute a script a startup and shutdown The trick works Windows XP, Vista and 7, but the method varies depending on your edition of Windows. For professional or full editions Start the policy editor of the local group: Start Menu> Run> Type...
Displaying video from a PC on a television screen ShowDisplaying video from a PC on a television screen TV output S-Video output Configuration under Windows FAQ You can display the output from the computer on a television (or even the sound on an amplifier). But that implies that the...
How to connect your PC to your TV set ShowHow to connect your PC to your TV set Requirements for your PC Requirements for your TV set Configurations Notes It is possible to connect your PC to your television set to enjoy DivX, FLV or DVD video formats compatible on your...
Download Chrono Shutdown ShowIt is sometimes necessary to restart or shut down your computer in your absence. It is possible to switch off from the basic functions of Windows, but with time. Chrono Shutdown is a free program to program shutdown or reboot your computer at...
Download Remote Shutdown Daemon ShowWhen to manage you several computer on the same network, it is not very easy to have to put out all posts, therefore move. Remote Shutdown Daemon and customer is a method allowing to put out one or computers across LAN or via Internet. To be...
PC Assembly ShowComputer Assembly A PC computer is a modular type of computer, it can be assembled using hardware components made by different manufacturers, so as to have a custom built computer according to one's specific needs. The following components are...
Graphics cards - Video cards Show2D Accelerator Cards A graphics card, sometimes called a graphics adapter, video card or graphics accelerator, is a computer component which converts digital data into a graphical form which can be displayed on a monitor. The initial role of a...
The PC Card bus (PCMCIA) ShowPC Card Bus Introduction The PC Card bus was developed in 1989 by the PCMCIA (Personal Computer Memory Card International Association, which is the name sometimes given to the bus) consortium in order to extend current peripheral equipment...