Tuesday, June 11, 2019

Operating systems Essay Example | Topics and Well Written Essays - 1000 words

Operating dusts - Essay ExampleThis program is in the complicity level three since it is competent to create a galvanic pile file to run the automatic back up process. The interaction takes place through a dialogue in a command line mode. It depart also be able to operate in a work schedule such that it can run repeatedly. It will run in a multiple back up operation for moving many files in the same session. The backup system will endue the menu in command line forms through the same dialogue system. However, the naming system will be a dynamic naming system depending on the users discretion, where the system will allow the user to specify the naming protocol, either by use of incremental alphabetical and numeric characters and perhaps linked to the days date. The changes in the codes of the batch file will alter the way the file runs. It checks the availability of the source of the files to be okay up as well as the destination directories which are in existence. Simple comme ncement code echo off variables set drive = C fireman set folder = %date7,2% set backupcmd = xcopy /s /c /d /e /h /i /r /k /y jailbreak echo Backing up directory... %backupcommand% CProgram Filesdir1 %dirve%%folder1% gaolbreak echo The file relief process Completed successfully shift pause pause We save the file as backup.bat and we see the icon below On running the file the output below appears Result Press any reveal to celebrate . .. Backing up directory CProgram Filesdir1 is not recognized as an internal or external command, operable program or batch file. Press any key to continue . . . The file Backup process Completed successfully Press any key to continue . . . Advanced Source code echo off Declaring source code variables set drive = CBatchBackup set bapcmd = xcopy /s /c /d /e /h /i /r/y pause pause echo Program for bread and butter up the Documents... %bapcmd% %USERPROFILE%My Documents %D%My Documents echo Backing up the Favorites... %bapcmd% %USERPROFILE%Site %C% bapcmd pause pause echo The system is Backing up all the Em and address book. %bapcmd% %USERPROFILE%Applic Data FilesMicrosoftAddBk %C% My Address Book %bapcmd% %USERPROFILE%Local Settings Applic DataIdentities %C%Outlook Express pause pause echo System is Backing up all Ems and Em contacts in MS Outlook express %bapcmd% %USERPROFILE%s Applic DataMS Outlook %C%Outlook pause pause echo System Backing up Registry********* if not exist %C%Registry mkdir %D%Registry if exist %C%Registryregbackup.reg del %D%Registryregbackup.reg regedit /e %D%Registryregbackup.reg pause pause Registry Backup Completed Successfully use below syntax to backup other directories... %bapcmd% C %drive% % D %drive% echo System successfully completes Backup Process pause pause pause Result Press any key to continue . . . Press any key to continue . . . Program for backing up the Documents... CUsersCOLOOMy Documents is not recognized as an internal or external com mand, operable program or batch file. Backing up the Favorites... CUsersCOLOOSite is not recognized as an internal or external command, operable program or batch file. Press any key to continue . . . Press any key to continue . . . The system is Backing up all the Em and address book. The system cannot find the path specified. The system canno

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.