| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 106523 | 2010-01-12 07:19:00 | Use command line options on an application | Lizard (2409) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 848008 | 2010-01-12 07:19:00 | I have an application that I want to use the command line option /start, so that it will begin automatically after the program initialises. If I open the properties for the application's shortcut, I can add the command line option after the target, and then when I run the program from that shortcut, it begins automatically. However, if the program is invoked via Autoplay, this shortcut isn't used. This is my problem - I want the application to begin automatically after initialised when invoked by the Autoplay feature. Is there a way to have the application use this command line option without going through the shortcut? |
Lizard (2409) | ||
| 848009 | 2010-01-12 07:35:00 | Change the autorun.inf to include the switches. See here;_ autorun.moonvalley.com |
Sweep (90) | ||
| 848010 | 2010-01-12 07:38:00 | or point the autorun at the shortcut | beama (111) | ||
| 848011 | 2010-01-12 07:47:00 | Thanks for the suggestions guys, but my understanding is that autorun files are on the disc. What I'm trying to do is have a particular program (or, if necessary, the shortcut to the program) launch with the command line option /start whenever a certain type of disc (e.g. DVD) is inserted. I don't see anywhere in Autoplay where I can choose to launch a shortcut. | Lizard (2409) | ||
| 848012 | 2010-01-12 07:58:00 | If /start isnt a valid command, for the app / whatever, it wont work. Altho if autorun.inf has an exe in it, it should load. What exactly do you want the dvd to load? If its a movie, install a program so it can load it and make it the default program | Speedy Gonzales (78) | ||
| 848013 | 2010-01-12 08:00:00 | In the link I posted you can edit the autorun.inf file if you download the editor. | Sweep (90) | ||
| 848014 | 2010-01-12 08:16:00 | What I'm trying to do is have DVD Decrypter load and run automatically when a DVD is inserted. I can set DVD Decrypter as the program to load every time a DVD is inserted through Autoplay, but it just invokes the program, not the shortcut, hence it won't run the command line option /start, which is a valid command - (it works if I run the shortcut). | Lizard (2409) | ||
| 848015 | 2010-01-12 08:24:00 | Check this out (forum.videohelp.com). Did you create a batch file? Looks like you have to. WHERE are you putting /start? In the app shortcut or the command line app? | Speedy Gonzales (78) | ||
| 848016 | 2010-01-12 08:54:00 | I'm putting /start in the properties page of the shortcut to DVD Decrypter, at the end of the target line, which points to the actual .exe file. If I run that shortcut, then DVD Decrypter opens and begins decrypting automatically. The problem is, I want that to happen when I insert the DVD, without having to click on the shortcut. I can create a batch file no problem, but I don't think there's anyway to have that batch file run every time I insert a DVD. But I'm happy to be corrected. |
Lizard (2409) | ||
| 848017 | 2010-01-12 08:56:00 | Did you read the link? I think you have to have more than /start | Speedy Gonzales (78) | ||
| 1 2 | |||||