PC Review


Reply
Thread Tools Rate Thread

Deleting copied files -> not all deleted ?!?!?

 
 
=?Utf-8?B?VHJldm9y?=
Guest
Posts: n/a
 
      8th Mar 2004
Hi

When I use

Dim toDel() As Strin
Dim St As Strin
toDel = System.IO.Directory.GetFiles(TextBox4.Text) '\program files\mydata For Each St In toDe
System.IO.File.Delete(St
Nex

Not all files get deleted. Ive checked the settings on each file but there all set to Archive. I cant notice anything else

Any ideas

Thanks.
 
Reply With Quote
 
 
 
 
Ginny Caughey [MVP]
Guest
Posts: n/a
 
      8th Mar 2004
Trevor,

Is it possible that some of the files are in use?
--
Ginny Caughey
..Net Compact Framework MVP

"Trevor" <(E-Mail Removed)> wrote in message
news:3604B52A-89D2-43C3-A20C-(E-Mail Removed)...
> Hi,
>
> When I use:
>
> Dim toDel() As String
> Dim St As String
> toDel = System.IO.Directory.GetFiles(TextBox4.Text) '\program

files\mydata For Each St In toDel
> System.IO.File.Delete(St)
> Next
>
> Not all files get deleted. Ive checked the settings on each file but there

all set to Archive. I cant notice anything else.
>
> Any ideas?
>
> Thanks.



 
Reply With Quote
 
=?Utf-8?B?VHJldm9y?=
Guest
Posts: n/a
 
      8th Mar 2004
No

I checked but there not in use... Strange..

Thanks.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
automatic copy of deleted or copied files =?Utf-8?B?cGhleWR1MjAwMA==?= Windows XP New Users 4 2nd Sep 2006 08:21 AM
i have some files which cant be deleted, copied ..... peter Windows XP General 1 10th Sep 2005 02:01 PM
deleted files being copied by windows =?Utf-8?B?Y2FseXg=?= Windows XP New Users 2 3rd Jan 2005 03:58 PM
deleted files automatically copied geoff Windows XP Performance 2 31st May 2004 12:49 AM
Deleted files are copied M Windows XP Performance 0 13th Apr 2004 03:09 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:07 PM.