In my previous post I presented a batch file that uses robocopy to make mirror backups of local files to a NAS. In this post, I will build upon that to add Volume Shadow Copy functionality in order to copy locked files.
I wanted to create a regular incremental backup of my local files on my Windows box, and copy them to a NAS. I ended up using robocopy, a batch file, and the Windows scheduler to achieve this. Read on to see how.
Reblogged from https://htipe.wordpress.com/2008/10/09/the-dp0-variable/ The %~dp0 (that’s a zero) variable when referenced within a Windows batch file will expand to the drive letter and path of that batch file. The variables %0-%9 refer to the command line parameters of the batch file. %1-%9 refer to command line arguments after the batch… Continue reading →