0

I need to access a file that is open by another process all the time. The best way would be for me to use Windows Shadow Copy to create another copy of the file and then use the copied file.

Does anyone know how to use vssadmin to create a backup and extract a specific file through a batch command or power shell? I would like to automate the process to run every night.

Jason

Nick Garvey
  • 2,980
  • 24
  • 31
Jason Anderson
  • 15
  • 1
  • 2
  • 5

1 Answers1

1

Here is a page with examples on how to create snapshots from a command line with vssadmin:

http://blogs.msdn.com/b/adioltean/archive/2004/12/14/301868.aspx

Andrew S
  • 426
  • 5
  • 6
  • Actually using mklink /d as described in this page worked for me: http://blogs.msdn.com/b/adioltean/archive/2008/02/28/a-simple-way-to-access-shadow-copies-in-vista.aspx – Andrew S Apr 08 '11 at 19:26