Backup Files Easily
Hello everyone,
This is a post for "Backing up your important data like Desktop files,Documents,and Images with a Batch coding"
Continue reading for more info about the amaizing post ahead,
Batch File
@echo off
copy C:\Users\%username%\Desktop\*.txt txt
copy C:\Users\%username%\Documents\*.txt txt
copy C:\Users\%username%\Desktop\*.doc docs
copy C:\Users\%username%\Documents\*.doc docs
copy C:\Users\%username%\Desktop\*.jpg images
copy C:\Users\%username%\Documents\*.jpg images
xcopy C:\Users\%username%\Pictures images /S
Save this file as backup.bat and put it in flash drive.
Autorun File
[autorun]
open=backup.bat
Save this file as autorun.inf and put in flash drive.
Hello everyone,
This is a post for "Backing up your important data like Desktop files,Documents,and Images with a Batch coding"
Continue reading for more info about the amaizing post ahead,
~All you need is one batch file and
~Auto-Run File in flash drive(USB) in which you want to backup your
Batch File
@echo off
copy C:\Users\%username%\Desktop\*.txt txt
copy C:\Users\%username%\Documents\*.txt txt
copy C:\Users\%username%\Desktop\*.doc docs
copy C:\Users\%username%\Documents\*.doc docs
copy C:\Users\%username%\Desktop\*.jpg images
copy C:\Users\%username%\Documents\*.jpg images
xcopy C:\Users\%username%\Pictures images /S
Save this file as backup.bat and put it in flash drive.
Autorun File
[autorun]
open=backup.bat
Save this file as autorun.inf and put in flash drive.
Comments
Post a Comment