MCT Posted August 4, 2004 Posted August 4, 2004 in my inf i wanna make it so it will "generate" the program files path.. example:[AssocExtensions]HKLM,"SOFTWARE\Classes\foobar2000.wma\DefaultIcon",,,"%foodir%\\Icons\\wma.ico"[Strings]foodir = "%ProgramFiles%\\Foobar2000"in the registry i would like it 2 display likeDefault = C:\\Program Files\\Foobar2000\\Icons\\wma.icothanks
Alanoll Posted August 4, 2004 Posted August 4, 2004 http://www.msfn.org/board/index.php?showtopic=11440&hl=DIRIDshould prove useful for ya
MCT Posted August 4, 2004 Author Posted August 4, 2004 that doesnt work either tho, i tried that b4 i tried %programfiles%16422 = program files so i would put [strings]foodir = "16422,Foobar2000"right? but it puts "16422,foobar2000\\icons\\wma.ico" as the value for default
Alanoll Posted August 4, 2004 Posted August 4, 2004 when not used as = 16422, try using %16422% instead.So...foobar= %16422%\Foobar2000
MCT Posted August 4, 2004 Author Posted August 4, 2004 that dont work either.. i get this..%16422%\Foobar2000\\Icons\\wma.icoive tried %16422%\%16422%\\%16422%,thanks 4 the try tho , keep 'em commin
MCT Posted August 4, 2004 Author Posted August 4, 2004 found the problem.. i cant use it in strings section works if i use HKLM,"SOFTWARE\Classes\foobar2000.wma\DefaultIcon",,,"%16422%\\Foobar2000\\Icons\\wma.ico"
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now