saitoh183 Posted February 22, 2005 Posted February 22, 2005 On my actual machine I use Notepad2 and in my unattended i would like to use it as well. What i did is i exported the reg files in the Classes Root like this:[HKEY_CLASSES_ROOT\batfile\shell\edit\command]@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,44,00,72,00,69,00,76,00,65,\ 00,25,00,5c,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,20,00,66,00,69,00,\ 6c,00,65,00,73,00,5c,00,6e,00,6f,00,74,00,65,00,70,00,61,00,64,00,32,00,5c,\ 00,4e,00,4f,00,54,00,45,00,50,00,41,00,44,00,32,00,2e,00,45,00,58,00,45,00,\ 20,00,25,00,31,00,00,00and i did this for all the extensions that i wanted Notepad2 to Open or Modify. I put all of this into my reg file that runs via m cmdlines.txt and it works(well sort of). When i come to test my reg modifition after my unattended installationis done, i click on a txt file and instead of openning in notepad2 it asked me what program to open with. I select notepad2 and it open and if i open the file again it asks again and the "always open with..." is grayed out. I have the problem with all the extensions i modified. What i basically want is for notepad2 to remplace notepad completly or is there another text editor i could use?
SiMoNsAyS Posted February 22, 2005 Posted February 22, 2005 this is my solution:replace notepad with notepad2 (makecab notepad2 as notepad.ex_).add this reg...;right click notepad[HKEY_CLASSES_ROOT\*\shell\Notepad][HKEY_CLASSES_ROOT\*\Shell\Notepad\Command]@="Notepad.exe \"%1\""done! you'll now have a notepad entry for all your files
jaclaz Posted February 22, 2005 Posted February 22, 2005 Look at what you would have found by searching for "notepad2":http://www.msfn.org/board/index.php?showtopic=38246&hl=jaclaz
McoreD Posted March 29, 2005 Posted March 29, 2005 For Unattended XP Installation:You really don't have to mess with all these registry entries and Windows File Protection. Like some guys have pointed out before, replacing the NOTEPAD.EX_ in I386 folder should do the job. If you find makecab, extract all that hard, I have put the files here:http://microsoftusernetwork.com/mcored/res.../unattended.htmCheers, McoreD
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now