Here's some easy points for someone:
If I issue a command like copy * /destination in a folder containing a file that is being written to, will the partially written file be copied? Will it be ignored? Will copy throw an error?
Basically I have a script that copies files from a folder to a new location on a schedule, and there could be a case in which a new file is being written to the source folder when the script runs. I'm wondering what precautions I might need to take.
Edit: I should mention that the file will be coming in via SMB to a shared folder.
Either:
As always, test test test, and move from there.
Windows won't let you make a regular copy of the file. You need to use Shadow Copy (aka VSS). Quick Google search produced this example.