Page 1 of 1

Portable Audacity and Portable Notepad2

Posted: Wed Apr 12, 2006 6:06 pm
by justin
nm35 and I have released Portable Audacity and Portable Notepad2. I mentioned them both because they are on your list of non-portable apps. Both are open-source and are available here:

Portable Audacity:

Portable Notepad2:

I'd also like to take this chance to re-submit all apps located at

Posted: Fri Apr 14, 2006 1:56 pm
by Andrew Lee
Thanks! Posted both apps to the database.

Re: Portable Audacity and Portable Notepad2

Posted: Sat Apr 22, 2006 5:08 pm
by ohno
[quote="justin"]nm35 and I have released Portable Audacity and Portable Notepad2. I mentioned them both because they are on your list of non-portable apps. Both are open-source and are available here:

Portable Audacity:

Portable Notepad2:

Since I am actually writing to the person that made this program work maybe you can answer something for me.

I tried it today and may or may not keep it.

I tried to save some changes but every time I open the program the changes are gone.

I did notice that the program does enter a registry key under HKLM Software while it is running then it goes away after shutdown.

Do I simply export that key while the program is running then replace the one in the portable Notepad2 folder?


Posted: Sun Apr 23, 2006 10:10 am
by justin
It should work on its own, exporting the reg entry on startup and writing to a reg file on shutdown. What system are you using, we have had no reported problems thus far. Thanks!

Re what system

Posted: Sun Apr 23, 2006 12:07 pm
by ohno
So far I have only tested on a computer that has Windows XP Pro with Shared Computer Tool Kit installed. That tool kit protects Drive C from any writes.

I was in the Tool Kit admin account. I have not tried this on another machine yet. I always use that machine to test programs incase something goes wrong.

If from your explaination when I make changes they should stay I would guess the Shared Computer Tool Kit is what is stopping it from happening.

So let me see if I understand your explaination of how this works.

When I launch the program I notice the Reg Key being created. Then when I make changes I assume that they are made to this reg key.

When the program gets shut down the reg key in windows overwrites the reg key that is stored in the Portable Notepad2 folder?

If that is it I will test on another computer and see how it works.

If you are interested in the tool kit I am speaking of this is where to get it. ... fault.mspx



Posted: Sun Apr 23, 2006 2:53 pm
by justin
I would guess that the Tool Kit is what is making it not work. Your description was correct except that the first time you run it, there should be no reg file in the folder, but upon shutdown, it creates one and then exports it upon re-opening. The file is then overwritten with the new settings if you changed any.

Original Reg

Posted: Sun Apr 23, 2006 6:23 pm
by ohno
The regkey I was speaking of was the one in the Notepad2 folder, I assume that was the original because it has never been modified.

So I will watch on my next test and see if one is created in the portable notepad2 folder or if the one in the notepad2 folder gets updated.

Will let you know how it goes when I run the test mid week.


Posted: Mon Apr 24, 2006 1:13 pm
by nm35
There is a default notepad2.reg file included in the setup.

Here's what happens when you launch PortableNotepad2.exe: (Excluding the current-settings check)

» The launcher restores all the data in the Notepad2.reg file to the Registry
» Notepad2.exe is launched, and it uses the settings that were just dumped in the Registry.
» When Notepad2 is closed, the settings are saved back to Notepad2.reg and the key is deleted from the registry.
» Then PortableNotepad2.exe is closed, and your system will be the exact same as it was before you ran Notepad2.

Hope this helps...

It is the toolkit causing the issues

Posted: Mon Apr 24, 2006 2:48 pm
by ohno
Ok confirmed.

If you make changes in the program then shut it down the file does get changed. Then if I reboot the computer and reopen Notepad2 the changes are still in effect.

However with the shared computer tool kit installed it messes up a bit by doing this. Open Portable Notepad2 make your changes. Shutdown Portable Notepad2. Reopen without reboot. The default settings return.

I am guessing it is because the Toolkit does not allow writes to the c crive and some how plays with the settings. So in conclusion in a regular enviroment the program works just fine and in a Shared Toolkit Enviroment it will work fine but just remember to reboot the machine if you close Portable Notepad 2 or you will loose the changes.

The program works for me and I will simply just make a backup copy of the reg key just incase I do use it on a machine that trashes my settings.

Great work.



Posted: Mon Apr 24, 2006 3:39 pm
by justin
Thanks for your input, though I think that you should thank the creator of Portable Notepad2, nm35. I created PortableAudacity and it works mainly the same way. Thanks again! :-D

Thanks to all

Posted: Tue Apr 25, 2006 12:58 pm
by ohno
Both Justin for help and nm35 for making a nice product, To extend I also thanked the maker of Notepad2 which Portable Notepad2 is based.