Jump to content

Recommended Posts

Posted

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 like

Default = C:\\Program Files\\Foobar2000\\Icons\\wma.ico

thanks :)


Posted

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

Posted

that dont work either.. i get this..

%16422%\Foobar2000\\Icons\\wma.ico

ive tried

%16422%\

%16422%\\

%16422%,

thanks 4 the try tho , keep 'em commin :)

Posted

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"

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...