3korre.se

by ekorrar for ekorrar!

User Tools

Site Tools


win_backup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

win_backup [2016/04/28 10:40] (current)
ekorre created
Line 1: Line 1:
 +Mappa Nätverksenhet:​ net use x: \\**server**\**share** ​ /user **username** ​ **password**
  
 +Backupscript:​
 +
 +<code file backupwin.bat>​
 +@echo off
 +:drive
 +set /p drive=Enhet(d:,​ e:, f:, g:, h:)?:
 +
 +set drive=%drive%\%USERNAME%
 +set backupcmd=xcopy /s /c /d /e /h /i /r /y
 +
 +echo Filerna skrivs till %drive%
 +
 +echo ###################################​
 +echo ### Kopiera Mina Dokument ​    #####
 +echo ###################################​
 +echo .
 +echo .
 +ºckupcmd% "​%USERPROFILE%\Documents"​ "​%drive%\Documents"​
 +echo -
 +echo -
 +echo -
 +echo -
 +echo ###################################​
 +echo ### Kopiera Skrivbordet ​        ###
 +echo ###################################​
 +echo .
 +echo .
 +ºckupcmd% "​%USERPROFILE%\Desktop"​ "​%drive%\Desktop"​
 +echo -
 +echo -
 +echo -
 +echo -
 +echo ###################################​
 +echo ### Kopiera ​ Favoriter ​         ###
 +echo ###################################​
 +echo .
 +echo .
 +ºckupcmd% "​%USERPROFILE%\Favorites"​ "​%drive%\Favoriter"​
 +
 +echo Backup Complete!
 +@pause
 +</​code>​
win_backup.txt · Last modified: 2016/04/28 10:40 by ekorre