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"

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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