Jump to content

nmedovich

Member
  • Posts

    6
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

About nmedovich

nmedovich's Achievements

0

Reputation

  1. @echo off :: variables set drive=C:\Backup set backupcmd=xcopy /s /c /d /e /h /i /r /y echo ### Backing up My Documents... %backupcmd% "%USERPROFILE%\My Documents" "%drive%\My Documents" echo ### Backing up Favorites... %backupcmd% "%USERPROFILE%\Favorites" "%drive%\Favorites" echo ### Backing up email and address book (Outlook Express)... %backupcmd% "%USERPROFILE%\Application Data\Microsoft\Address Book" "%drive%\Address Book" %backupcmd% "%USERPROFILE%\Local Settings\Application Data\Identities" "%drive%\Outlook Express" echo ### Backing up email and contacts (MS Outlook)... %backupcmd% "%USERPROFILE%\Local Settings\Application Data\Microsoft\Outlook" "%drive%\Outlook" echo ### Backing up the Registry... if not exist "%drive%\Registry" mkdir "%drive%\Registry" if exist "%drive%\Registry\regbackup.reg" del "%drive%\Registry\regbackup.reg" regedit /e "%drive%\Registry\regbackup.reg" :: use below syntax to backup other directories... :: %backupcmd% "...source directory..." "%drive%\...destination dir..." echo Backup Complete! @pause cls %backupcmd% "%USERPROFILE%" "%drive%\%UserName% - profile" @pause Rate This Plz Used in Windows Batch File .bat
  2. if its windows, check one the navigational bar or 2 press F11
  3. thats a decent idea but i have suspicions that when my brother will go to logoff, he will abort the batch file, I need to know how to disable the keyboard
  4. I wish to make it so that the keyboard and mouse are locked while the people logoff, when they logoff a backup batch files is run, does anyone know how to do this
×
×
  • Create New...