View previous topic :: View next topic |
Author |
Message |
Habufe Expert Cheater
Reputation: 0
Joined: 03 Sep 2007 Posts: 149 Location: http://www.SaviourFagFails.com/
|
Posted: Fri Apr 25, 2008 5:11 am Post subject: [TuT] How to add an option to the files right click menu |
|
|
this is the menu im talking about:
PS, i will only teach how to add an option to the shell part, i have no clue how to work with shellex.
1.choose what files will be effected. if u want to do it on all files, proceed with registry path HKEY_CLASSES_ROOT\AllSystemfileObjects. if u wanna effect folders proceed with HKEY_CLASSES_ROOT\Folders. for exe files it will be HKEY_CLASSES_ROOT\exefile, for dlls HKEY_CLASSES_ROOT\dllfile, for compressed (zipped) folder it will be HKEY_CLASSES_ROOT\CompressedFolder, and there are many many many more types that i dont have time to list now.
this tut will use the HKEY_CLASSES_ROOT\AllSystemfileObjects as example.
2.go to HKEY_CLASSES_ROOT\AllSystemfileObjects. if theres a folder called shell, go into it. if not, create it.
3.inside shell add a folder. the folder's name will be the caption of the option that will be added to the menu. ill use "haha01haha01 is 1337".
were now in HKEY_CLASSES_ROOT\AllSystemfileObjects\shell\haha01haha01 is 1337
4.inside HKEY_CLASSES_ROOT\AllSystemfileObjects\shell\haha01haha01 is 1337
add a folder callled "command"
5.edit the (Default) key inside "command" folder to ur program's path + the parameters. notices that "%1" (WITH the "") means the path+name of the file we right clicked on. my program is D:\program.exe and to run a file with it i need to add the parameter -op FilePathHere
the default key for me will be
D:\program.exe -op "%1"
exit regedit and h4x t4h c0mput3rz.
Last edited by Habufe on Fri Apr 25, 2008 10:54 am; edited 1 time in total |
|
Back to top |
|
 |
Missi0n Grandmaster Cheater
Reputation: 3
Joined: 20 Jul 2007 Posts: 820 Location: Around
|
Posted: Fri Apr 25, 2008 10:16 am Post subject: |
|
|
Will this work in vista?
_________________
☭☭☭☭☭☭☭☭☭☭☭☭☭☭☭☭☭☭☭☭☭☭☭☭☭☭☭
|
|
Back to top |
|
 |
Habufe Expert Cheater
Reputation: 0
Joined: 03 Sep 2007 Posts: 149 Location: http://www.SaviourFagFails.com/
|
Posted: Fri Apr 25, 2008 10:53 am Post subject: |
|
|
missi0n wrote: | Will this work in vista? |
im 90% sure that it will.
|
|
Back to top |
|
 |
GG Grandmaster Cheater Supreme
Reputation: 4
Joined: 20 Jan 2008 Posts: 1589 Location: Australia
|
Posted: Fri Apr 25, 2008 5:16 pm Post subject: |
|
|
Thanks
Great guide!
_________________
|
|
Back to top |
|
 |
iTz SWAT I post too much
Reputation: 1
Joined: 20 Dec 2007 Posts: 2227 Location: Me.Location;
|
Posted: Fri Apr 25, 2008 5:34 pm Post subject: |
|
|
I haven't tried this but great TUT.
This shud be stickied.
_________________
|
|
Back to top |
|
 |
Habufe Expert Cheater
Reputation: 0
Joined: 03 Sep 2007 Posts: 149 Location: http://www.SaviourFagFails.com/
|
Posted: Sat Apr 26, 2008 5:55 am Post subject: |
|
|
im now searching how to make a program u made work with parameters, i once knew it but i 4got =\
|
|
Back to top |
|
 |
|