![]() Modify and compile my sample source code in your favorite environment / compiler, (or just use ): Now you need to build a tool program 'Notepad ParamProxy.exe**': (of course you may use any filename, instead of my: '***Notepad ParamProxy.exe***' and… **dont use "/z" switch** like Notepad2) "Debugger"="\"C:\\Program Files\\Notepad \\Notepad ParamProxy.exe\"" You may try this way to solve your problem: ![]() **add double quotes "…"** to other parameters (for example: **C:\Program Files\file.txt** -> "**C:\Program Files\file.txt**") So all we need to do is **fix parameters** passed to Notepad .exe: path **with white spaces** is treat as **many** parameters instead of **one** (for example: **C:\Program Files\file.txt** -> **(1)** "**C:\Program**" and **(2)** "**Files\file.txt**") **1st extra parameter** (which in Windows XP is: **C:\WINDOWS\system32\NOTEPAD.EXE**) There are 2 problems with **passing parameters to** **Notepad .exe**: ![]() For example, "C:\Windows\Notepad2.exe" /zįirst of all, sorry for my English skills :( Set the data of this new "Debugger" value to the full path to the Notepad2 executable, followed by the /z switch. Inside the key, create a new string (REG_SZ) value, named "Debugger".Ĥ. Create the following registry key: HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe.ģ. Obtain a build of Notepad2 that supports this form of Notepad replacement.Ģ. In order to use this method of Notepad replacement, you will need to follow these steps:ġ. This is a partial copy of the instructions from but just remove the /z part otherwise notepad tried to open the z file: It looks likes this works for getting a replacement for notepad for notepad in Windows 7just by creating a registry key (so far it is working for me in Windows 7 - retail version, no beta).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |