deleting locked files on a remote server \\servername\fname.txt

  • Thread starter Thread starter antony hudson
  • Start date Start date
A

antony hudson

Hi

I need to delete files via a UNC path such as \\xxx\documents and
settings\username\yy.txt using vb.net.

However some of the files seem to be locked, is there anyway round this?
I have used system.io.file and system.io.directory delete methods
without success.

Alternatively is there a way to delete a users profile from a remote
Citrix server when it has become corrupted?
 
Antony,

If you cannot do it (without special tools) direct from windows, you cannot
do it with VB.

Cor
 
Back
Top