Solved

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

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!!!!
1 answer Last reply Best Answer
More about find file location open batch script
  1. Best answer
    Sinji58 said:
    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!!!!


    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
Ask a new question

Read More

DOS Batch Windows 7