Veteran
|
I know I'm reviving an old thread, but figured I'd add this since it may help somebody.
Since PHPEd does not have an auto-export feature, I made my own .bat file. 1. Create a folder somewhere. (e.g. NuSphereBak). 2. Open notepad and paste this into it. Save as "backup.bat" or something. Windows XP:
Windows 7:
3. Run this file any time you want a backup made. 4. (optional) Using Window's Task Scheduler, have this bat file run automatically once a day (or time of your choosing.) The last 4 commands in the batch file create empty launchbox.cfg and fileprop.cfg files. The reason I'm doing this is because after some time, these files can accumulate to a hefty size and cause the IDE to take a while to close. So... if I restore a backup, I'd rather those two files be empty. If for some reason you want to keep those files as is, just remove the last 4 commands. Disclaimer: You may have to change the paths in the batch file if PHPEd is not installed in the default location. 20100317: I've only tested this under Windows XP and Windows 7 so far. Windows Vista may need a slightly different batch script. IMPORTANT: Do not import the registry in to a different computer and expect it to work! Unfortunately, paths are scattered all throughout PHPEd's keys in the registry, so if your computer login username changes or you are trying to go from a Windows XP installation to a Windows 7 installation, you'll have to do some manual editing of all of the paths. To NuSphere, if they read this.. It would be great if the user-configurable settings (minus those with paths) (Editor Settings, Syntax Colors, etc..) were in an ini file instead of the registry so that they may be backed up independently. Edits: 20100321: Added bakdir variable. Task Scheduler was creating backups in the system32 directory before. You will need to modify this path to match where your backup folder is. |
||||||||||||||||
|
Bugger |
|
Can you somehow export from a registry file on another drive?
I want to pull my config over from the old system drive. All files are accessible, it's just not the boot drive anymore. Can I do it? It'd be very good. Thanks please nuSphere pay heed: we need to have the configs in one simple directory in the file system. If nothing else, for consistency's sake. But it'd help heaps for users trying to deal with this problem over and over again. Please guys, listen! |
||||||||||||
|
New Computer, way to keep all settings? |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by