mIRC Homepage
Posted By: PhantasyX More for "Backup Files on Save" - 16/07/06 03:05 PM
I'm suggesting that there should be more option(s) for the "Backup Files on Save" option in the script editor.

I would enjoy this so maybe we could make use of the /backup/ folder that is placed in mIRC as default? I personally do not enjoy having many ".bak" files saved in my script directories and would prefer the backup files to be in a folder labeled /backup/. but I'm not suggesting limiting the files only be saved to /backup/.

** Maybe an option to choose where you would like your backup files to be saved would be nice? This would definately be a plus in my views.

How about yours?

Thanks,
-PhantasyX
Posted By: MikeChat Re: More for "Backup Files on Save" - 17/07/06 04:59 AM
I agree, a bak folder either way would be less clutter in the main folder etc
Posted By: landonsandor Re: More for "Backup Files on Save" - 17/07/06 04:12 PM
I like the idea of backlup files and already implement this in a NONscripted way. Everytime I got to make a decent sized change, I first save the file as ScriptnameXX.mrc (XX being any 2 digit number from 00 to whatever the current is) in my backup subfolder, resave it as the script file, then make the change. yes, it's the long way around, but has saved my ass many times and at this point I could probably go back about 5 years worth of scripting if I needed to. In case you're wondering, that's NOT a lot of size taken away. MAYBE a meg if that smile
Posted By: MikeChat Re: More for "Backup Files on Save" - 17/07/06 04:37 PM
I dont know what version of mIRC you use but it makes a bak (backup) copy of your mrc and alias files
Code:
/mkdir BAK
//echo -a $findfile($mircdir,*.bak,0,0,rename $qt($1-) $qt($mircdir\bak\ $+ $nopath($1-)))

give it a look
Posted By: landonsandor Re: More for "Backup Files on Save" - 17/07/06 08:03 PM
I use the latest as always. I was simply saying how I did it myself vs a scripted version is all but thanks for the snippet
© mIRC Discussion Forums