Page 2 of 2

Posted: Tue Aug 09, 2005 6:02 pm
by Capn Trips
Calling from IR works.

Drag & drop does not.

In short - the change made no difference.

Posted: Tue Aug 09, 2005 7:49 pm
by mtakahar
Ah, ok, IRToWav.bat changes the current directory, so "." won't work. Even if not, Windows would change it where it is specified in the property.

Try this: save the following content as setup.bat, put it in the same directory as IRToWav, then double click on it once. It'll create the .bat files with the classpath embedded.

Code: Select all

echo @echo off >IR2W.bat
echo java -classpath "%CD%" IRToWav %%1 %%2 %%3 %%4 %%5 %%6 %%7 %%8 %%9 >>IR2W.bat
echo @echo off >IRToWav.bat
echo cd /d %userprofile%\Desktop >>IRToWav.bat
echo echo Building sound file, wait.... >>IRToWav.bat
echo java -classpath "%CD%" IRToWav %%1 >>IRToWav.bat
echo echo Prepare the remote for download: >>IRToWav.bat
echo echo Click on the play button on your audio player when you are ready. >>IRToWav.bat
echo pause >>IRToWav.bat
echo start Upgrade.Wav >>IRToWav.bat
This may not work on Windows 98/Me. If that's the case, manually edit the batch files and specify the classpath with full directory name surrounded by double quotes.

Hal

Posted: Tue Aug 09, 2005 11:01 pm
by Capn Trips
"...and they were forced to eat their minstrels. :? :twisted:
AND THERE WAS GREAT REJOICING! ('yay')" :D :lol:

That did it. :D Thank you greatly.

(I would next humbly suggest updating the IRtoWAV.zip file, and uploading it somewhere over here, rather than only over at Yahoo, where it currently resides.)

Posted: Wed Aug 10, 2005 12:54 am
by mtakahar
I agree. Let's hope Alain finds this thread.
I can copy the file over here with this setup included, but it'll make it harder for Alain to update it later.

Hal

Posted: Wed Aug 10, 2005 6:29 am
by The Robman
I clued Alain into this thread yesterday, but he's in middle of moving so he doesn't have much computer access right now.

Posted: Wed Aug 10, 2005 6:47 am
by Capn Trips
Well, as a stopgap, I uploaded the zip with the setup.bat added HERE, and will be happy to remove it if/when Alain has the time/inclination to upload the "official" version.

Posted: Fri Aug 12, 2005 3:40 am
by aberguerand
Hello all,

sorry for the late answer, as Rob mentioned, I had no real Internet access during the last days.

Thanks to Hal for providing an elegant solution to the nasty Java classpath issue. I will integrate Hal's setup batch in the "official" version and amend the instructions accordingly, giving credits to whom they are dued.

As a side note, I did not know that IR was actually calling IRToWav, I thought the Java code had been ported and integrated in IR :| . Anyway, I will also mention it in the instructions.

Alain