Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want to enable auto-playing on DVD drive (specifically, virtual one created using UltraISO - they don't support the auto-play yet) so that when I click on some shortcut, the auto play of drive E: will execute.

I wouldn't mind using vbs, cmd, ahk or whatever :)

share|improve this question
    
What operating system are you dealing with? –  Ramhound May 11 '12 at 14:46
1  
How does this make it easier than clicking the shortcut? –  Oliver Salzburg May 11 '12 at 14:47
1  
windows 7, please note the context menu command of auto-play is under ultraiso sub menu. –  alfred May 11 '12 at 14:48
    
Can't you just make a shortcut to your media player, and pass it E:\ as the argument (i.e. so it loads the DVD)? AFAIK, this works with VLC, and should work with all media players that support dragging-and-dropping media files onto the program/shortcut itself. –  Breakthrough May 11 '12 at 18:00

1 Answer 1

By default, you should disable all autoplay features on your computer. Autoplay is a huge security risk when enabled, since programs are launched without your explicit action/permission.

Assuming you simply want a shortcut that plays the DVD video of whatever is in drive E:, you should be able to create a shortcut on your desktop to the media player, and pass it the path to the DVD drive as the only argument. For example, using VLC, create a shortcut with the following as the target:

"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" "E:\"

Clicking the shortcut should start playing whatever DVD is in drive E. Depending on your media player, you may have to modify the shortcut arguments, but the above should work for all media players which support drag-and-drop onto the executable.

share|improve this answer
1  
I don't want to "play" the content, rather "auto-play". yes, despite the security risk - I wouldn't mind getting the window's dialog box "what do you want to do (open/view files)" –  alfred May 12 '12 at 5:59

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.