How do you find a file location to open in a batch script?

Sinji58

Honorable
Dec 10, 2013
49
0
10,560
I want to create a batch file that teaches you Klingon. How nerdy huh? I haven't made it yet but when you type in a word or a phrase it will bring to a different layer to show you how you spell it. That's in the batch script. Now also it would open a 2-4 second audio recording that's in Window's Media Player.

But how would you open a file by command in batch, (While it's running?) Like go to properties on the file?

Thanks!!!!
 
Solution


Shift right click on the audio file and the click on copy as path and then you have the file location. The in notepad or whatever your using to write it in you can use one of the following to get it to open:

WMPLAYER AUDIO.MP3
AUDIO.MP3
START WMPLAYER.EXE AUDIO.MP3
START AUDIO.MP3

If this is not...


Shift right click on the audio file and the click on copy as path and then you have the file location. The in notepad or whatever your using to write it in you can use one of the following to get it to open:

WMPLAYER AUDIO.MP3
AUDIO.MP3
START WMPLAYER.EXE AUDIO.MP3
START AUDIO.MP3

If this is not what you meant then just let me know

Hope this helps :)

The_Freeman
 
Solution