Windows Xp Batch files

March 9, 2009 at 05:41:08
Specs: Windows XP
Is there a way to get a batch file to open and run specific file types? for example I have a load of DVD’s on my 1TB HD and they are in 2 formats ripped DVDs with a video TS folder and windows media player format which has been downloaded of the web, I want to create a batch file with a menu of all my films and with a select of a number or letter just go and run the file type with the appropriate program, can any one please help me?
Many thanks
Tor Fey

See More: Windows Xp Batch files

Report •

March 9, 2009 at 14:27:56
You may want to have a look at the start command.

start "" "%programfiles%\Windows Media Player\wmplayer.exe" <media file>

It may be located in a different place on your system.

If wmp has the default file association then all you need to do is:

start "" <media file>

Report •

March 10, 2009 at 02:51:04
Hi there

Thanks very much for your help, my batch file is now working perfectly

Tor Fey

Report •

Related Solutions

Ask Question