Pelles C forum

C language => Work in progress => Topic started by: Vortex on October 18, 2018, 08:38:28 PM

Title: Volume shadow copy client
Post by: Vortex on October 18, 2018, 08:38:28 PM
vscopy is a command-line tool to create volume shadow copies. Windows 7 and upwards are supported.

Code: [Select]
vscopy <volume_letter> <assigned_letter> <file_to_execute>
Example :

Code: [Select]
vscopy C: V: Backup.bat
Backup.bat :

Code: [Select]
copy V:\Data\*.doc D:\Backup /y
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.