| 1. |
Solve : add a .bat file to right click contents menu? |
|
Answer» add a .bat file to right click contents menu you can use this anyway: sorry devcom i copied your CODES in a reg key and execute it but i dont have it in my right click why? should i restart my win xp? i dont want .bat in my new i want to add one program.bat in my right clickok, so you need to look for app ShellExView, this should help you Code: [Select]http://www.nirsoft.net/utils/shexview.htmldo you mean to add FILES to a right click menu like this? yes BatchFileBasics i need it to be avtive both on folders and files thanks if you van make a script i will be greatfullwell this is for the "all' files but not folders: and you save it in notepad as "anything.REG" Code: [Select]Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\*\shell\Name of command\command] ="\"c:\\path of file\\file.bat\" \"%1\"" replace "Name of command" with what you want the right click descipt to be. but leave alone the "command" at the end Code: [Select]="\"c:\\path of file\\file.bat\" \"%1\"" adds the key to the registry. your normal file would be c:\path of file\file.bat but all the \ mean to not count as a new command\line regularly it is : Code: [Select]"c:\path of file\file.bat\" "%1" but you need the slashes so: Code: [Select]"\"c:\\path of file\\file.bat\" \"%1\" it worked thanks my dear BatchFileBasics i have my.bat file in my right click options now i am satisfied now thank you againyou are all welcome to whom gave me a thanked up. and mioo_sara, welcome to the forums I know this is an older post, but i tired and have one issue. When i right click a blank area, there is no "Create New BAT" like registry specified. It simply added an option for when i right click an file. Has anyone got this to work on the right click menu or the "File>new" menu? Here is my REG file: Code: [Select]Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\*\shell\Create New BAT\command] ="\"C:\\Documents and Settings\\mhofmann\\My Documents\\Test\\file.bat\" \"%1\"" Thanks for the help! |
|