Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I have an application which continuously writes small files to disk. I have set it to write to a network drive. On occasion, the application loses connection to the network drive (even if momentarily) and throws an error.
Is there an application which lets me write data to a local disk folder and periodically, say once every minute, move the (closed!) files on this folder to the network drive)?
Thanks for any suggestions. Much appreciated.

why not write a batch script?
copy x:\directory\file N:\folder
windows tasks can schedule it to run every minute but this is resource hungry
-D-
nosey aren't ya, readin me sig?

Thanks, but I also need to move the files, i.e. delete them from the local directory, but I do not want to move (or delete!) the open files, i.e. the files currently being written to by the application.
Thanks for the tip, anyway.

I'd use the "move" command, this removes the file from the original location.
Just to be sure, I quickly opened a word document and then opened a command prompt window and tried to "move" the file. The result was the following error message:
"The process cannot access the file because it is being used by another process"
So, you could make a batchfile using "move" and not have to worry about open files.
Just open a command prompt window and type: move /? for help info on the command itself.

"On occasion, the application loses connection to the network drive (even if momentarily) and throws an error."
Your focus should be on why you are losing network connectivity. Managed switch would tell you if your network is saturated or you have port errors.
Imagine the power if you knew how to internet search

![]() |
problems with networking ...
|
Windows Messenger can't l...
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |