Jump to content

expandfile right click


Power350

Recommended Posts

I had this working before. I added to nlite.inf and it would add Expand > only to the files I specified. Not to every file you right click on. I cannot get it work anymore. reg or inf. I am confused as to why I used the """"%L""""... etc. Can anyone help clear up my confusing. been looking on the net for about two hours now for sintax definitions or somethin. tired to looking...can use another methoad that will put expandit on right click of every file but dont want to do it that way though.

HKCR,".in_","",0x00020000,"expandfile"
HKCR,".dl_","",0x00020000,"expandfile"
HKCR,".ex_","",0x00020000,"expandfile"
HKCR,"expandfile","",0x00020000,"Compressed File"
HKCR,"expandfile\shell\expand","",0x00020000,"Expand >"
HKCR,"expandfile\shell\expand\command","",0x00020000,"expand "-r """"%L"""" """"%I""""

I beleive it is a syntax error because when looking the in the registry I will have wrong values in there.

Edited by Power350
Link to comment
Share on other sites


well i figured it out on my own !!!

**Updatedcode after usage bug found...path wouldn't take spaces**

HKCR,".in_","",0x00020000,"expandfile"
HKCR,".dl_","",0x00020000,"expandfile"
HKCR,".ex_","",0x00020000,"expandfile"
HKCR,"expandfile","",0x00020000,"Compressed File"
HKCR,"expandfile\shell\expand","",0x00020000,"Expand >"
HKCR,"expandfile\shell\expand\command","",0x00020000,"expand -r ""%1"" %1"""

for some reason you cannot use ,,, for the default you have to use ,"", ...that doesn't make sense to me. can anyone explain this. also you can dd more HKCR,".??_","",0x00020000,"expandfile" to the inf and have it do only the files you want. the only setback is that if you want all files then it becomes a hassel. I like this method because expand > isn't on the context menu all of the time. Just when it is on the .??_ file.

Edited by Power350
Link to comment
Share on other sites

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...