C language > Work in progress

Volume shadow copy client


vscopy is a command-line tool to create volume shadow copies. Windows 7 and upwards are supported.

--- Code: ---vscopy <volume_letter> <assigned_letter> <file_to_execute>
--- End code ---

Example :

--- Code: ---vscopy C: V: Backup.bat
--- End code ---

Backup.bat :

--- Code: ---copy V:\Data\*.doc D:\Backup /y
--- End code ---

V: is the volume copy of C:  After the creation of the volume shadow copy, Backup.bat is executed to copy files in the folder C:\Data

Many thanks to TimoVJL for the conversion of the C++ code to Pelles C. Also, thanks to Frankie for his SDK for PellesC.


[0] Message Index

Go to full version