May 19, 200422 yr i dont no how to explain but..i wanna register a file using the %SYSTEMROOT% way.. but instead of showing %SYSTEMROOT% in the registry value i want it to locate the real directory instead..everyone is lost? lol i dont even noe wat im saying myself..ummm... the bsplay.REG file look like this..Windows Registry Editor Version 5.00[HKEY_CURRENT_USER\Software\BST\BSplayer]"skin"="""AutoPlay"=dword:00000001"AppPath"="%systemroot%\\bsplayer\\bsplay.exe"registry view...if anyone get what im trying to say and knows how to do it, can you please tell me.thnx..
May 19, 200422 yr i dont no how to explain but..i wanna register a file using the %SYSTEMROOT% way.. but instead of showing %SYSTEMROOT% in the registry value i want it to locate the real directory instead..everyone is lost? lol i dont even noe wat im saying myself..ummm... the bsplay.REG file look like this..Windows Registry Editor Version 5.00[HKEY_CURRENT_USER\Software\BST\BSplayer]"skin"="""AutoPlay"=dword:00000001"AppPath"="%systemroot%\\bsplayer\\bsplay.exe"registry view...if anyone get what im trying to say and knows how to do it, can you please tell me.thnx..I believe you should use %%systemroot%% instead of %systemroot%...
May 19, 200422 yr Yes you can but it has to be REG_EXPAND_SZWindows Registry Editor Version 5.00[HKEY_CLASSES_ROOT\*\shell\ResHack][HKEY_CLASSES_ROOT\*\shell\ResHack\command]@=hex(2):25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,6f,00,74,00,25,\ 00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,52,00,65,00,\ 73,00,48,00,61,00,63,00,6b,00,65,00,72,00,2e,00,65,00,78,00,65,00,20,00,25,\ 00,31,00,00,00My command says %systemroot%\System32\ResHacker.exe %1That gives me right click ResHacker
May 19, 200422 yr Author My command says %systemroot%\System32\ResHacker.exe %1That gives me right click ResHackerWhy is there a %1 at the end for? wat does that do?
May 20, 200422 yr That's a variable which resolves to the name of the particular file you are opening.
Create an account or sign in to comment