background preloader

Windows

Facebook Twitter

Desktop

Using batch files. With batch files, which are also called batch programs or scripts, you can simplify routine or repetitive tasks. A batch file is an unformatted text file that contains one or more commands and has a .bat or .cmd file name extension. When you type the file name at the command prompt, Cmd.exe runs the commands sequentially as they appear in the file. You can include any command in a batch file. Certain commands, such as for, goto, and if, enable you to do conditional processing of the commands in the batch file. The standard error codes that most applications return are 0 if no error occurred and 1 (or higher value) if an error occurred. For more information about batch file operations, see the following topics: For more information about commands that you can use in batch files, click a command:

Michaelv.org. Cobian Backup. Find Open Source Alternatives to commercial software. Rsync : backup de Windows vers Linux @ Le Blog de Bruno. Rsync: backup de Windows vers Linux Voici un tutoriel pour backuper via l'outil rsync une partie ou la totalité du disque C:\ sous Windows vers un système Linux. 1ere partie : configurer le serveur Linux - installer rsync (normalement il est déjà installé par défaut) : apt-get update && apt-get install rsync - créer le répertoire où seront stockés les fichiers Windows en choisissant une partition avec assez de place : mkdir . /dossiers-backups - créer le fichier de configuration de rsync : nano /etc/rsyncd.conf et y coller ceci : [backup-pc] path = /chemin/vers/dossiers-backups comment = backup-pc Windows XP (requires authentication) uid = backup-pc gid = backup-pc read only = false auth users = backup-pc secrets file = /etc/rsyncd.secrets - créer le fichieroù sera stocké le mot de passe : nano /etc/rsyncd.secrets et y coller ceci : backup-pc:mon-mot-de-passe-secret 2eme partie : configurer le PC Windows 3eme partie : création d'un fichier bat.