Ultima Posted May 1, 2008 Posted May 1, 2008 Greetings, I have a question regarding the /settings switch. I plan on using the program on my flash drive, so I'm using the switch as follows: imgburn.exe /SETTINGS settings.ini /PORTABLE I noticed that on a different machine it created a folder in the documents and settings folder with the same name as the computer imburn was originally installed on, so I prevented this by changing the folders which it saves the logs and such to. My question is this: Are the paths in the settings.ini file relative or static? For example, let's say I take this line: SOUNDS_SuccessSoundFileName=I:\ImgBurn\Sounds\Success.wav and shorten it to this: SOUNDS_SuccessSoundFileName=Sounds\Success.wav Does ImgBurn look for the sounds directory as starting from where the ImgBurn.exe file is located? Or does this sort of operation simply not work at all? The reason I'm asking is that I would like to set the flash drive as the location where files get saved to, but I can set a specific drive letter that the program is writing to, the drive letter may change on a different PC.
LIGHTNING UK! Posted May 2, 2008 Posted May 2, 2008 From the 2.4.1.0 changelog: Added/Changed: When running in 'Portable' mode, certain paths will be saved relative to the exe's folder if they're at the same level or below it. (i.e. 'D:\ImgBurn\Sounds\Success.wav' becomes '.\Sounds\Success.wav')
Ultima Posted May 2, 2008 Author Posted May 2, 2008 Argh, I read the readme, then I read the and search the forums, and the answer is in front of me all this time. Thanks for building this awesome program.
blutach Posted May 2, 2008 Posted May 2, 2008 To be fair to you, it was a reasonably long changelog Regards
Recommended Posts