Re: Transferring TB with batch file
Hello P.Johnson, A reminder of what P.Johnson on TBUDL typed on: 23 November 2004 at 22:10:14 GMT -0600 No, it's the Canadian football final; How can it be called Football when they keep picking it up with their hands and running off with it? :) -- Best regards,Tony. _ Message composed on 23/11/2004 at 09:03 UTC 2004 - AWB Using The Bat! v3.0.2.7 on Windows XP 5. 1 Build 2600 Service Pack 2 Current version is 3.0.1.33 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html
Funnyball (WAS--Re: Transferring TB with batch file)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 ***^\ ._)~~ ~( __ _o Was another beautiful day, Tue, 23 Nov 2004, @ @ at 09:04:55 +, when Tony Boom wrote: Hello P.Johnson, A reminder of what P.Johnson on TBUDL typed on: 23 November 2004 at 22:10:14 GMT -0600 No, it's the Canadian football final; How can it be called Football when they keep picking it up with their hands and running off with it? :) Maybe they call them forelegs? :grin: But, such fanny games we called gendarmes and thiefs. It has nothing with football. It's hilarious watching a man running away with this funny ball under arm. Like a thief with stolen female hand-bag. (-: [CCed to TBOT] - -- Mica PGP key uploaded at: http://pgp.mit.edu/ once just before breakfast :crazy: [Earth LOG: 83 day(s) since v3.0 unleashing] OS: Windows 98 SE Micro Lite Professional IVa Enterprise Millennium with nestled ZipSlack(tm) 9.1 UMSDOS Linux, and with Bochs 2.1.1 with a small DLX Linux; and, for TB sometimes Libranet (Linux) 2.8.1, via Cross Over Office -BEGIN PGP SIGNATURE- iD8DBQFBox499q62QPd3XuIRAqIwAJ4nO8cgK2qYbmniRzJEic0j+yu62ACeMEqg mlWojB95Gw6IwiEhz8freTA= =bI9B -END PGP SIGNATURE- Current version is 3.0.1.33 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re: Transferring TB with batch file
Hello P.Johnson, A reminder of what P.Johnson on TBUDL typed on: 22 November 2004 at 22:24:09 GMT -0600 In the registry the program is called The Bat!. So should I still change it to TheBat2.0? No, don't. The time difference is getting in the way here otherwise we could have this sorted in two minutes. Your getting conflicting advice from all angles. The ONLY thing Pat did wrong was to unzip the backup as it was so she had C:\Program Files\Program Files\TheBat2.0. I assumed she would know to put TheBat2.0 back into C:\Program Files. So it is my fault for not explaining the unzipping part fully. Pat, you don't need to edit the batch file I sent you in any way. Just make sure you put your Zipped or Rared up TheBat2.0 into your new machines main Program Files directory (Folder), click the .reg file and your done. You've already created the complete backup so there is no need to rem anything out at all. -- Best regards,Tony. _ Message composed on 22/11/2004 at 08:51 UTC 2004 - AWB Using The Bat! v3.0.2.7 on Windows XP 5. 1 Build 2600 Service Pack 2 Current version is 3.0.1.33 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re: Transferring TB with batch file
Hello Greg, A reminder of what Greg Strong on TBUDL typed on: 22 November 2004 at 23:18:38 GMT -0600 rem if exist TBbckup1.reg del TBbckup2.reg rem if exist TBbckup1.reg rename TBbckup1.reg TBbckup2.reg Disable error checking? Strange thing to do! The above two line check for previous reg backups and deletes or renames them to make way for the new one, why disable them Greg? You've lost me in your logic. -- Best regards,Tony. _ Message composed on 22/11/2004 at 09:00 UTC 2004 - AWB Using The Bat! v3.0.2.7 on Windows XP 5. 1 Build 2600 Service Pack 2 Current version is 3.0.1.33 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re: Transferring TB with batch file
Hello Tony, Monday, November 22, 2004, 3:03:22 AM, Tony Boom wrote: rem if exist TBbckup1.reg del TBbckup2.reg rem if exist TBbckup1.reg rename TBbckup1.reg TBbckup2.reg Disable error checking? Strange thing to do! The above two line check for previous reg backups and deletes or renames them to make way for the new one, why disable them Greg? Because they don't exists and she is only using to transfer to new machine 1 time, so what is the point. Thought I would make it simple, that is all. Not a big deal unless you are going to run repeatedly. Also I'm assuming WinRAR switches are correct. I don't have WinRAR I use 7-Zip. Are the switches for incremental backup? If they aren't, then they should be because it would make it much faster if you are going to run repeatedly. Also if you are going to run repeatedly, then you may want to run gradfather, father, son batch backup which Marck posted some time back. All the better. This can be debated every which way. All I was trying to do is help her get TB on to 2nd PC. No more. Anyway!!! -- Best Regards, Greg Strong Using The Bat! v3.0.2.7 on Windows XP 5.1 Build 2600 Service Pack 2 Current version is 3.0.1.33 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re: Transferring TB with batch file
Hello Pat! On Monday, November 22, 2004, 5:42 PM, you wrote: PJ Well, I got the transfer sorted and TB! is now neatly installed on PJ my new computer, but alas, there still seems to be a hang problem. PJ I checked with the ISP and there is no problem there. I can only PJ assume it is the new computer, possibly SP2 (though how that would PJ affect one account in my email program I don't know) or a PJ different conflict. When you were first trying to sort out the hang problem, it was on my mind to wonder if you were up to trying a beta. I had a number of hanging type difficulties with The Bat! 3.xx including not being able to close it except with the task manager. These were all sorted by beta v. 3.0.2.5, which was pretty stable in many other respects, also. Just still not good for IMAP and a few people's very, very complex filters. I'm running 3.0.2.6 right now, which is the same .exe as 3.0.2.5. Beta version 3.0.2.7 has the capability of encryption for the Professional Version, but I have not installed that, which requires a little bit of jumping through hoops. Since you have WinRar you could easily get the 3.0.2.5rar or the 3.0.2.6rar installed right over The Bat! files you have now. That's if you wanted to sign up as a beta tester. All the developers ask is that you use it normally--that's the minimum, and that's what I do--and report any difficulties on the tbbeta list. Just a thought. If you're too worn out with Information Technology right now to consider it, I apologize for thinking out loud! :) -- Best regards, Mary The Bat! 3.0.2.6 on Windows XP 5.1 2600 Service Pack 2 Current version is 3.0.1.33 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html
Hang problem on one TB! Account mail download [was Re: Transferring TB with batch file]
Hello Pat! On Monday, November 22, 2004, 5:42 PM, you wrote: PJ ... there still seems to be a hang problem. I checked with the ISP PJ and there is no problem there. I can only assume it is the new PJ computer, ... Have you emptied your temp files? Sometimes too many TB! temp files will cause weird behavior. still thinking out loud and grasping at straws! Maybe the fact that you've just moved to a new computer is a coincidence, and there was a problem (like temp files) just lurking for an opportunity. PJ ... possibly SP2 (though how that would affect one account PJ in my email program I don't know) or a different conflict. Hmm. Sp2 has a new firewall for XP. Are you running that firewall? If you're running a different firewall, did you disable the one in XP SP2's Security Center? (Control Panel/Security Center) Perhaps, also, it might help to refresh everyone's mind here on tbudl with another description of the sequence of events when your hang problem occurs. Want to post that? There are some pretty good minds here and I believe we haven't yet run out of things to try! -- Best regards, Mary The Bat! 3.0.2.6 on Windows XP 5.1 2600 Service Pack 2 Current version is 3.0.1.33 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re: Transferring TB with batch file
Hello P.Johnson, Monday, November 22, 2004, 5:42:56 PM, P.Johnson wrote: Well, I got the transfer sorted and TB! is now neatly installed on my new computer, but alas, there still seems to be a hang problem. Glad to hear you have it installed, sorry to hear about the hang problem. What does the account log (Shft+Ctrl+A) say when the problem occurs? I checked with the ISP and there is no problem there. I can only assume it is the new computer, possibly SP2 (though how that would affect one account in my email program I don't know) or a different conflict. I would start with the account log. It may provide a clue as to what may be wrong. Have you checked the account transport settings (Ctrl+Shft+P)? Poor old Texans... I suppose I should be a fan but I'm not interested in football at all (though Toronto just won the Grey Cup :-) ... no, make that :-( as they beat the Lions). Is the Grey cup soccer? That sport is definitely growing in the US. -- Best Regards, Greg Strong Using The Bat! v3.0.2.7 on Windows XP 5.1 Build 2600 Service Pack 2 Current version is 3.0.1.33 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re: Transferring TB with batch file
Hello P.Johnson, A reminder of what P.Johnson on TBUDL typed on: 21 November 2004 at 16:46:54 GMT -0600 response suitable for a simpleton like me. :-) Any help any of you can provide would be very much appreciated. Hope I wasn't too technical in my reply to you Pat? I sent it before I read this. -- Best regards,Tony. _ Message composed on 21/11/2004 at 22:59 UTC 2004 - AWB Using The Bat! v3.0.2.7 on Windows XP 5. 1 Build 2600 Service Pack 2 Current version is 3.0.1.33 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re: Transferring TB with batch file
Hello P.Johnson, Sunday, November 21, 2004, 4:46:54 PM, P.Johnson wrote: Hello TBUDLers, I am trying to do a specific backup and restore using a batch file, so that I can transfer my current TB over to my new computer. Tony Boom has very kindly given me instructions to do so, using Winrar as my zip program. The only problem I can see is that my TB folder is called TheBat2.0 for some reason (as opposed to The Bat!), ^ So is your program files located in directory below? C:\Program Files\TheBat2.0 Is your mail directory located below the above directory so it would be in the directory below? C:\Program Files\TheBat2.0\MAIL I'll assume yes. ... snip I cannot change the name of the folder (believe me, I tried). If you were logged out of TB and have WinXP Pro on NTFS file system you are probably logged in as a limited user. Even if you were logged in as Admin user I don't know if you would want to change it because TB may not work afterwards. IIRC TB directory structure saved in other files possibly registry which may throw things out of wack. My question is, what wording, if any, do I need to change in the following file: See below: --- @Echo off Path C:\Program Files\WinRAR\WinRAR.exe Hopefully WinRAR is installed here on your PC so you shouldn't have to make any changes, otherwise you have to make appropriate changes. Also I run 7-Zip backup batch file from TB program directory. IIRC 7-Zip is a little picky on directory structure, and I'm not sure about WinRAR. So I am SWAG'ing it. I would try batch from Program directory C:\Program Files\TheBat2.0\batch.bat which would put registry in program directory to be latter compressed into backup file which would be a good thing. Otherwise you may have to run from root directory C:\batch.bat Echo Echo * !! Backing up The Bat registry entries !! * Echo Echo . if exist TBbckup1.reg del TBbckup2.reg Looks to see if registry backup exists. if exist TBbckup1.reg rename TBbckup1.reg TBbckup2.reg I would rem the above line out because you want registry backed up provided you are going to use the exact directory structure on new machine, otherwise I would just use TB backup and do a clean install with it on new machine. So just put rem in front of above 2 lines. start /w regedit /e TBbckup1.reg HKEY_CURRENT_USER\Software\RIT\The Bat! this backs up the registry to a file name TBbckup1.reg which is real important for setting up later on new machine, otherwise you will have to do a clean install. When you get the .reg file on the new machine all you have to do is double click to put it in the registry. Remember you may want to do a clean install with backup from TB backup utility anyway. I am no expert here but think the only limitation on TB backup utility is to have the same directory structure below the Mail directory, whereas batch file backup requires both the same structure for the program AND mail files. Also the other thing to note here is how are you going to transfer the backup files to the new PC. Are they hooked up on a network, or is your mail base very small. If small then you may get away with a CD or even a floppy. It all depends upon the size. echo. if not exist TBbckup1.reg echo Error! Something went wrong. Backup not echo successful. if exist TBbckup1.reg echo Success! Your registry entries for The Bat! are echo backed up! just an echo Echo ** Echo * !! Creating RAR Archive of The Bat Directory!! * Echo ** Echo . if exist C:\email\TBBackup.rar del C:\email\TBBackup.rar deletes old WinRar file below the C:\email\ directory. If you are going to use this line you will have to make sure directory structure agrees, otherwise change to whatever you want. C:\Progra~1\WinRAR\WinRAR.exe a -u -as C:\email\TBBackup.rar C:\Program Files\The Bat! This is the actual backup. I would assume the switches in WinRAR will backup all files in the directory and below, and WinRar is located in the same directory. So if your Mail directory is located somewhere else you will have to make changes. I am going to assume your Mail directory is located below the program directory and your backup is going to be in the C:\email\ directory. This being the case then change the line to the following: C:\Progra~1\WinRAR\WinRAR.exe a -u -as C:\email\TBBackup.rar C:\Program Files\TheBat2.0 --- I hope I have explained this properly. I have absolutely no experience with batch files or this type of procedure, so please make your response suitable for a simpleton like me. I don't know if I'm much help because it depends upon your directory structure. IIRC you may be better off just running TB backup and then doing a clean install on the new PC using the backup file. If you
Re: Transferring TB with batch file
Hello P.Johnson, Sunday, November 21, 2004, 10:24:09 PM, P.Johnson wrote: In the registry the program is called The Bat!. So should I still change it to TheBat2.0? No, try re-written batch file below. If your on WinXP Pro or Win2k log in as an admin user. Open text editor and simply copy and paste, then save it in: C:\Program Files\TheBat2.0 directory as TBbkup.bat. Create a directory on the c drive as C:\email Open command box by Start|Run|type cmd hit enter. At prompt type the following: cd c:\program files\TheBat2.0 type TBbkup.bat and the batch should run WinRAR from the command line. Thank you very much Greg, I appreciate your efforts to help, and your patience. No problem the Packers just beat the Texans with a field goal with time expiring so it is the least I can do. --TBbkup.bat-- @Echo off Path C:\Program Files\WinRAR\WinRAR.exe Echo Echo * !! Backing up The Bat registry entries !! * Echo Echo . rem if exist TBbckup1.reg del TBbckup2.reg rem if exist TBbckup1.reg rename TBbckup1.reg TBbckup2.reg start /w regedit /e TBbckup1.reg HKEY_CURRENT_USER\Software\RIT\The Bat! Echo ** Echo * !! Creating RAR Archive of The Bat Directory!! * Echo ** Echo . if exist C:\email\TBBackup.rar del C:\email\TBBackup.rar C:\Progra~1\WinRAR\WinRAR.exe a -u -as C:\email\TBBackup.rar C:\Program Files\TheBat2.0 --TBbkup.bat-- This assumes you have WinRAR installed to C:\Program Files\WinRAR\ on the original PC. Install WinRar on 2nd PC. Now if the WinRAR switches are correct the compressed file should have the directory structure within it. So all you have to do is dump the TBBackup.rar onto a CD and de-compress it onto the new PC to the C:\Program Files\TheBat2.0 directory keeping the directory structure intact on the de-compression. On the new PC the TBbckup1.reg file should be in the program directory of C:\Program Files\TheBat2.0. Open Windows Explorer to the program directory and double click on TBbckup1.reg file. You should now be in business on the new PC with the exact same settings as the original. -- Best Regards, Greg Strong Using The Bat! v3.0.2.7 on Windows XP 5.1 Build 2600 Service Pack 2 Current version is 3.0.1.33 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html