View Full Version : DOS opening/closing programmes + Parameters
scroots
07-26-2003, 01:52 PM
I can open programs using DOS, where can i find a list of parameters i can pass to programmes like opera, musicmatch jukebox and many other programmes? is there a list? or do i have to visit evey makers site?
Also can i close an open programme using dos, e.g. if i have opera running can i close it using dos?
scroots
CrAzYCoDeR969
07-26-2003, 08:32 PM
if you are talking about opening programs in command prompts/shells you can see what available parameters there are by typing either of these ususally:
programname --help
programname -h
Veneficus
07-28-2003, 01:43 AM
A large number of DOS programs also include a readme file with information about valid parameters.
scroots
07-28-2003, 11:11 PM
you see i am writing a script to run on my pc with various options and different options run different programmes/common tasks and some involve opening/closing prgrammes.
I would like to know about various parameters to enable me to open say opera at a specific site and play a playlist on an mp3 player that dort of stuff.
scroots
Josh Campbell
07-29-2003, 12:30 AM
Just experiment with various command line options. I've experimented with a few programs. In IE, Mozilla, and Windows Media Player you just put the address of what you want to see / listen to as the first parameter and it works. Like:
c:\program files\MozillaFirebird\MozillaFirebird.exe "http://www.cnn.com"
or
c:\program files\windows media player\wmplayer.exe "d:\my stuff\zelda.mp3"
dont know about closing them tho.
scroots
08-02-2003, 09:36 PM
thanks josh i still haven't figuredd how to close them.
I guess its just play and fiddle for the parameters.
scroots
Drakain Zeil
08-06-2003, 10:50 PM
Use Batch. It's much more powerful, and you can launch programs directly to websites ie. fileName.exe "%1" saved in a batch file, then type the command to start the file and put a space then the URL ie Web-starter www.codingingforums.com
I'm 93.7% sure you cannot close a file from the command line.
But you can start files in the windows directory with /start <filename>
Drakain Zeil
08-07-2003, 04:54 AM
Sorry for the double post, but I just realised that you may be able to use tasmon.exe to close the file from the command line and didn't want it to be overlooked, because its somthing that should be looked into.
Good hunting :thumbsup: .
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.