[thelist] RE: System.IO File Copy - File In Use

Jamie Lewis emaillists at eyota.net
Fri Dec 10 11:49:54 CST 2004


Not to worry, found a fix. since the files being copied are be locked by a
windows service, im just stopping and starting the service.

However, if anyone does have any other sugestions, then please do let me
know.
Jamie.

-----Original Message-----
From: Jamie Lewis [mailto:emaillists at eyota.net]
Sent: 10 December 2004 16:33
To: AZGroups at yahoogroups.com; freelancers at fnmail.co.uk;
thelist at lists.evolt.org
Subject: System.IO File Copy - File In Use


Hi,

Im writing an application that needs to copy some files, currently Im using
system.IO, but I need it to copy the file even if it is in use.  Does anyone
know of a method that can be used that will do this?  It doesnt strictly
need to be .net as its a windows app that can run with admin privaliges if
needed, so any workaround can be considered providing I can access it
without human interaction from vb.net.

Many thanks.
Jamie.




More information about the thelist mailing list