Location of Macros
-
Long time user of NP++. I recently had to replace my computer. I was fortunate in that the SSD was still OK. I bought a new PC and installed the old SSD as a secondary drive in the new PC.
One feature I used extensively on NP++ is Macros. Where would I find the Macros on the old SSD and transfer them to the new SSD? Is that possible?
jdadwilson
-
@James-A-Wilson said in Location of Macros:
Where would I find the Macros on the old SSD and transfer them to the new SSD? Is that possible?
It certainly is possible. We normally say open File Explorer and then type
%appdata%\Notepad++
, then look for theshortcuts.xml file
. however in your case the %appdata% will not expand to the old SSD, it will open the new installation location. However this is where the shortcuts.xml file and other config files are normally stored (if not running in Admin mode).So for the old SSD you will go to the root folder, look for users folder, then drill down through the account name you used. At this point you will not see the hidden folder, but you can type on the end of the path
\appdata
. Then depending on how your Windows installation was setup (on the old SSD) look for the Notepad++ folder which will be a couple of levels below your current folder.Of course, if running in Admin mode it changes the location the macro is stored. So another location to check is under the old installation folder, so either
Program Files
orProgram Files (x86)
, look for the Notepad++ folder and find the shortcuts.xml file there.You can easily copy the Macro section from this file and insert into the new installation file of the same name. You may possibly want to keep the new installation file backed up in case you find you have edited the file incorrectly.
Terry
-
Terry… Thanks ever so much. It worked perfectly!!!