Hello Simon, Thursday, September 11, 2008, 11:23:30 AM, Simon wrote:
> So, TB! is executing the exe, but it is being run somewhere else, not in the > same folder as it is executed from. And I have no idea why that is, or how > to resolve it. To check where it actually is run, you'd just have to add something like: cd pause to the top of your script. To get it to work in the right directory, you'd just have it move there. Since your "My Voicemail"-dir does not change (I guess) you'd just need to add something like this to the very top of the script: cd D:\My Voicemail\Incoming Which would make it look like this: /* BEGIN @echo off cd D:\My Voicemail\Incoming echo Name: "%~n1" FOR %%a in (*.wav) DO "sox.exe" "%%a" "%%~na.aiff" [..] */ I hope that helps. Regards, -- Using The Bat! v4.0.28.1 on Windows XP 5.1 Build 2600 Service Pack 2 ________________________________________________ Current version is 4.0.24.0 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html

