BadSCR Posted December 13, 2008 Share Posted December 13, 2008 I was thinking that I would Shear how i Backup my Files. It only copys the files that have changed or that are new.Creat both Files in the same Folder.File one: LORbackuper.batFile two: AutoBackup.batStep one: Copy, and past the Code into NotpadStep two: Fill-in the needed infoStep three: Save file as....step four: Run the Bat fileTo remove the AutoRun of the LORbackuper.batstep one: startstep two: runstep three: %userprofile%Start MenuProgramsStartupstep four: Delete LORbackuper.bat Link to comment Share on other sites More sharing options...
BadSCR Posted December 13, 2008 Author Share Posted December 13, 2008 ::Just open The File in Notpad and make the needed info changes.@echo off:: This Will Backup The LOR files To where you want them.:: Just Enter The INFO needed below; after the "=" with no spaces.:: after giving the needed INFO:: Save the file as "LORbackuper.bat":: DO NOT Change "set XXXXXX=":: Where The "Sequences Folder" is that needs to be Backed-up.:: EX...set Seq=C:Documents and SettingsadminMy DocumentsLORSequencesset Seq=:: Where The "Audio Folder" is that needs to be Backed-up.:: EX...set Aud=C:Documents and SettingsadminMy DocumentsLORAudioset Aud=:: Where To Save the Backed-up Files and folders TO::: EX...set backuplor=D:backupLORfilesLORset backuplor=::-------------------------------------------------------------:: Not For you to mess with:: DO NOT Change From here Down.::MAIN PROGRAMEset backupcmd=xcopy /s /c /d /e /h /i /r /y:: Backup LOR Sequences Files%backupcmd% "%seq%" "%backuplor%Sequences":: Backup LOR Audio Files%backupcmd% "%Aud%" "%backuplor%Audio":: use below syntax to backup other directories...:: %backupcmd% "...source directory..." "%drive%...destination dir...":: are for comments@pauseexit Attached files LORbackuper.txt Link to comment Share on other sites More sharing options...
BadSCR Posted December 13, 2008 Author Share Posted December 13, 2008 @echo off:: Save the file as "AutoBackuper.bat"echo.echo This Will make your "LOR Backuper Programe" to Start with windowsecho.pause::MAIN PROGRAMEset backupcmd=xcopy /c /d /h /i /r /y:: Backup LOR Files%backupcmd% "LORbackuper.bat" "%userprofile%Start MenuProgramsStartup"@pauseexit Attached files AutoBackup.txt Link to comment Share on other sites More sharing options...
Texan78 Posted December 13, 2008 Share Posted December 13, 2008 I am glad you brought this up. I got this nasty adware bug on my computer the other day and I can't get rid of it. Anyways, it causes my computer to restart out of no where. So if I am working on a sequence it could just close out of no where and I lose all my work.It doesn't appear that LOR has a auto save function. So can this little script you wrote be used to auto save files if it should just suddenly close?I have S2 running with my StartWatch. I would like to find a way to enable shows. Link to comment Share on other sites More sharing options...
BadSCR Posted December 14, 2008 Author Share Posted December 14, 2008 No it will not, But i will see what i can do.I don't know, I will look into it.The two little script that i wrote only auto-backups the files at start-up of your computer.The other way to do the backup is to open LORbackuper.batYou don't have to use the autoBackup.batFrom what i can see there is a CTRL+S in the LOR software to save. I may be able to use that to make a auto-save for LOR (By sending that key board cammand every 10 minutes)but my little programe for that will have to run in the background and it will auto save for any program that has the CTRL+S protocallCAN SOMEONE TELL ME WHERE I CAN FIND The LOR's COMMAND-LINE Commands. PLZ, It would be of help to me for scripting. Link to comment Share on other sites More sharing options...
BadSCR Posted December 14, 2008 Author Share Posted December 14, 2008 OK I have Something Its a Bata for me.There are two of them. All of my programes have to be in the same folder.Programe one: AutoSaveWithBackup.bat You have to go in and fill the needed info in.Program Two: AutoSaveWithExtBackup.bat Place the above LORbackuper.bat with AutoSaveWithExtBackup.bat@echo off:: This Will Backup The LOR files To where you want them.:: Just Enter The INFO needed below; after the "=" with no spaces.:: after giving the needed INFO:: Save the file as "ASaveLORBackuper.bat":: DO NOT Change "set XXXXXX=":: Where The "Sequences Folder" is that needs to be Backed-up.:: EX...set Seq=C:Documents and SettingsadminMy DocumentsLORSequencesset Seq=:: Where The "Audio Folder" is that needs to be Backed-up.:: EX...set Aud=C:Documents and SettingsadminMy DocumentsLORAudioset Aud=:: Where To Save the Backed-up Files and folders TO::: EX...set backuplor=D:backupLORfilesLORset backuplor=:: How Long between Auto-Saves (In Milli-Seconds) (600000 = 10 Minutes)::(1000 Milli-Seconds = 1 Second) (60000 Milli-Seconds = 1 Minute):: EX...set Delayed=600000set delayed=600000::-------------------------------------------------------------:: Not For you to mess with:: DO NOT Change From here Down.::MAIN PROGRAME:start:: Just a messageecho.echo This is a AutoSave Programe Using CTRL+Secho.echo This Programe is runningecho.:: This Tells it to Waitnircmd.exe wait %delayed%:sendkey:: will send the keys CTRL+Snircmd.exe sendkey ctrl downnircmd.exe sendkey s downnircmd.exe sendkey ctrl upnircmd.exe sendkey s up:backupit::This will run your LORbackuper.bat to backup the LOR filescall LORbackuper.batgoto start@pauseexit Attached files AutoSave.zip Link to comment Share on other sites More sharing options...
BadSCR Posted December 14, 2008 Author Share Posted December 14, 2008 One Small problem with AutoSaveWithExtBackup.batOn the LORbackuper.bat edit the file.At the very bottum delete...@pauseexitAnd then save----------------------------------------There is one Bug in the program.If you are using a flash drive to backup to; The drive letter of the flash drive could change and my program will not backup the files right.Also note, I don't think it will work on a CD/DVD burner as a backup medium.Let me know what yall think about these scripts.Thanks,---------------------------------------------Also att. is an updateed AutoSave/Backuper files. Attached files AutoSaveV2.zip Link to comment Share on other sites More sharing options...
BadSCR Posted December 14, 2008 Author Share Posted December 14, 2008 PLZ Let me know if the Scripts are working.And if you are haveing trobule with makeing the BAT fileand how my Instructions are.PLZ, tell me what you think of the Scripts.Thanks,PS. It is very important that the scripts and the Nircmd.exe are in the same folder. Link to comment Share on other sites More sharing options...
BadSCR Posted December 15, 2008 Author Share Posted December 15, 2008 The LOR Backuper V1*InstallingStep one: Unzip the files Step two: Copy All files to the main(root) directory of the flash-drive where your Backups will be saved toStep three: Open File INSTALLer.bat Step four: Open file autorun.batThe LOR Backuper V1 Attached files LOR Backuper V1.zip Link to comment Share on other sites More sharing options...
BadSCR Posted December 16, 2008 Author Share Posted December 16, 2008 READ THIS POST BEFORE DOWNLOADING.ADMIN please Delete This Thread. (This one is too Junked Up) Thanks"The LOR Backuper V1" I have Not Teasted and Had i did I would have noticed the Big error on my part. I leftout a very improtant pice of Code."The LOR Backuper V3" Works I have Tested it Please goto the new thread.I have Moved this to:http://lightorama.mywowbb.com/view_topic.php?id=18278&forum_id=81And sorry to yall that have tryied "The LOR backuper V1" I will test every one of them for now-on to see if they work right for me. Link to comment Share on other sites More sharing options...
Recommended Posts