in reply to Re^2: File::Copy - locked files
in thread File::Copy - locked files
Recent Windows versions have a special service (Volume Shadow Service? Use Google!) for this problems, it allows you to take some kind of snapshot of the filesystem. All modifications after the snapshot do not affect your program, so you can safely copy files from a mounted filesystem. Of course, this service can't guarantee that all open files are in a consistent state.
Regarding your locked Access database: Shut down the service, then backup or make at least a copy of the database file, then restart the service and exclude the original, locked file.
Alexander
--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: File::Copy - locked files
by Anonymous Monk on Feb 12, 2013 at 09:46 UTC | |
by afoken (Chancellor) on Feb 14, 2013 at 20:41 UTC |
In Section
Seekers of Perl Wisdom