Need Help with Batch File...
Posted: Tue May 18, 2010 2:05 pm
I am trying to automate a batch file I created to process audio files. No matter what I try nothing works.
Here is the manual process I'm using today:
-There is a local folder that called "unknown_audio" where .wav files are automatically pushed to from the server in numerical order.
-When the .wav file is in the "unknown_audio"folder I then go to the command line in windows and input the following:
step 1 - cd C:MMArelease
step 2 - IDFile C:MMAunknown_audiochannel1channel10549.wav C:MMAresponseschannel1Response
Then I hit enter and the process runs.
channel10549.wav is the input file (I have to input this variable each time)channel1Response is the output folder
I then receive a response from the server and the response is stored in the "response" folder on my local machine.
I want to have a complete script that will watch the folder where the .wav files are stored, import .wav file name for step 2 and then run the .bat automatically, and then close the command line window when completed.
This is a little beyond me and I need some help/advice on how to get it done.
Here is the manual process I'm using today:
-There is a local folder that called "unknown_audio" where .wav files are automatically pushed to from the server in numerical order.
-When the .wav file is in the "unknown_audio"folder I then go to the command line in windows and input the following:
step 1 - cd C:MMArelease
step 2 - IDFile C:MMAunknown_audiochannel1channel10549.wav C:MMAresponseschannel1Response
Then I hit enter and the process runs.
channel10549.wav is the input file (I have to input this variable each time)channel1Response is the output folder
I then receive a response from the server and the response is stored in the "response" folder on my local machine.
I want to have a complete script that will watch the folder where the .wav files are stored, import .wav file name for step 2 and then run the .bat automatically, and then close the command line window when completed.
This is a little beyond me and I need some help/advice on how to get it done.