Computing.Net > Forums > Programming > Windows Xp Batch files

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Windows Xp Batch files

Reply to Message Icon

Name: Tor_Fey
Date: March 9, 2009 at 05:41:08 Pacific
OS: Windows XP
Subcategory: General
Comment:

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



Sponsored Link
Ads by Google

Response Number 1
Name: Judago
Date: March 9, 2009 at 14:27:56 Pacific
Reply:

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>


0

Response Number 2
Name: Tor_Fey
Date: March 10, 2009 at 02:51:04 Pacific
Reply:

Hi there

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

Tor Fey


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


java programming call VB6.0 program from A...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Windows Xp Batch files

windows xp batch file, edit ....... www.computing.net/answers/programming/windows-xp-batch-file-edit-/9278.html

Win XP batch file problem www.computing.net/answers/programming/win-xp-batch-file-problem/11239.html

Windows 2000 >> Batch file Problem www.computing.net/answers/programming/windows-2000-batch-file-problem/13167.html