PC Review


Reply
Thread Tools Rate Thread

Can't delete

 
 
Gibbylinks
Guest
Posts: n/a
 
      31st Dec 2004
I have 4 or 5 sub-directories that I can't delete. I can create files
within them and delete them no problem, but when I try to delete the
folder I get the error message

"cannot delete file: Cannot read from the source file or disk." in a
message box.


I have tried running chkdsk and found no errors, I have defragged my
drive and I have also tried deleting them from the command prompt, using
the rmdir command which returns "the system cannot find the file
specified" as an error, and del returns "could not find c:\......."
where ..... is the path the directory.

Does anyone have a magic wand ?

They have been there now for 18 months and they are like an itch I can't
scratch, and keep going back to. This is about my 3rd post, all previous
ideas having failed.

Cheers
 
Reply With Quote
 
 
 
 
Will Denny
Guest
Posts: n/a
 
      31st Dec 2004
Hi

Those error messages would suggest that the folder doesn't exist and has
already been deleted. Are they Windows or 3 party program folders. If the
latter, do you know which program created them?

--


Will Denny
MS-MVP Windows Shell/User
Please reply to the News Groups


"Gibbylinks" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I have 4 or 5 sub-directories that I can't delete. I can create files
>within them and delete them no problem, but when I try to delete the folder
>I get the error message
>
> "cannot delete file: Cannot read from the source file or disk." in a
> message box.
>
>
> I have tried running chkdsk and found no errors, I have defragged my drive
> and I have also tried deleting them from the command prompt, using the
> rmdir command which returns "the system cannot find the file specified" as
> an error, and del returns "could not find c:\......." where ..... is the
> path the directory.
>
> Does anyone have a magic wand ?
>
> They have been there now for 18 months and they are like an itch I can't
> scratch, and keep going back to. This is about my 3rd post, all previous
> ideas having failed.
>
> Cheers



 
Reply With Quote
 
Gibbylinks
Guest
Posts: n/a
 
      31st Dec 2004
Will Denny wrote:
> Hi
>
> Those error messages would suggest that the folder doesn't exist and has
> already been deleted. Are they Windows or 3 party program folders. If the
> latter, do you know which program created them?
>


I think they were created by a 3rd party long long time ago though

Thanks for quick reply
 
Reply With Quote
 
Patti MacLeod
Guest
Posts: n/a
 
      31st Dec 2004
Hi Gibbylinks,

If you haven't done so already, give this a try.......

Open a Command Prompt window, navigate to the parent directory of the
"problem" subdirectories, then key in:
dir /x
This will display both the Short File Name and the Long File Name for the
directories (for example, the Short File Name for the Long File Name of
Program Files is Progra~1). Take note of the Short File Name for the
"problem" subdirectories, then try deleting them, using the rmdir command,
using the Short File Name.



Regards,

--
Patti MacLeod
Microsoft MVP - Windows Shell/User

"Gibbylinks" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I have 4 or 5 sub-directories that I can't delete. I can create files
> within them and delete them no problem, but when I try to delete the
> folder I get the error message
>
> "cannot delete file: Cannot read from the source file or disk." in a
> message box.
>
>
> I have tried running chkdsk and found no errors, I have defragged my
> drive and I have also tried deleting them from the command prompt, using
> the rmdir command which returns "the system cannot find the file
> specified" as an error, and del returns "could not find c:\......."
> where ..... is the path the directory.
>
> Does anyone have a magic wand ?
>
> They have been there now for 18 months and they are like an itch I can't
> scratch, and keep going back to. This is about my 3rd post, all previous
> ideas having failed.
>
> Cheers



 
Reply With Quote
 
Gibbylinks
Guest
Posts: n/a
 
      31st Dec 2004
Thanks,

Got rid of my itch. Your dir /x was a help. I also discovered that two
of the folders had hidden files in them which didn't help matters. I
used the attrib command and managed to sort it out. Also found that the
rmdir used with the /s was a big help.

If anyone is interested, a tip from an old fossil. when using commands
at a dos prompt, if you are unsure what switches you can use type the
command followed by /? and you will get a list of the possibilities. i.e
dir /?

Cheers

Paul

Patti MacLeod wrote:
> Hi Gibbylinks,
>
> If you haven't done so already, give this a try.......
>
> Open a Command Prompt window, navigate to the parent directory of the
> "problem" subdirectories, then key in:
> dir /x
> This will display both the Short File Name and the Long File Name for the
> directories (for example, the Short File Name for the Long File Name of
> Program Files is Progra~1). Take note of the Short File Name for the
> "problem" subdirectories, then try deleting them, using the rmdir command,
> using the Short File Name.
>
>
>
> Regards,
>
> --
> Patti MacLeod
> Microsoft MVP - Windows Shell/User
>
> "Gibbylinks" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>
>>I have 4 or 5 sub-directories that I can't delete. I can create files
>>within them and delete them no problem, but when I try to delete the
>>folder I get the error message
>>
>>"cannot delete file: Cannot read from the source file or disk." in a
>>message box.
>>
>>
>>I have tried running chkdsk and found no errors, I have defragged my
>>drive and I have also tried deleting them from the command prompt, using
>>the rmdir command which returns "the system cannot find the file
>>specified" as an error, and del returns "could not find c:\......."
>>where ..... is the path the directory.
>>
>>Does anyone have a magic wand ?
>>
>>They have been there now for 18 months and they are like an itch I can't
>>scratch, and keep going back to. This is about my 3rd post, all previous
>>ideas having failed.
>>
>>Cheers

>
>
>

 
Reply With Quote
 
Paul Gibbs
Guest
Posts: n/a
 
      31st Dec 2004
Thanks,

Got rid of my itch. Your dir /x was a help. I also discovered that two
of the folders had hidden files in them which didn't help matters. I
used the attrib command and managed to sort it out. Also found that the
rmdir used with the /s was a big help.

If anyone is interested, a tip from an old fossil. when using commands
at a dos prompt, if you are unsure what switches you can use type the
command followed by /? and you will get a list of the possibilities. i.e
dir /?

Cheers

Paul

Patti MacLeod wrote:
> Hi Gibbylinks,
>
> If you haven't done so already, give this a try.......
>
> Open a Command Prompt window, navigate to the parent directory of the
> "problem" subdirectories, then key in:
> dir /x
> This will display both the Short File Name and the Long File Name for the
> directories (for example, the Short File Name for the Long File Name of
> Program Files is Progra~1). Take note of the Short File Name for the
> "problem" subdirectories, then try deleting them, using the rmdir command,
> using the Short File Name.
>
>
>
> Regards,
>
> --
> Patti MacLeod
> Microsoft MVP - Windows Shell/User
>
> "Gibbylinks" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>
>>I have 4 or 5 sub-directories that I can't delete. I can create files
>>within them and delete them no problem, but when I try to delete the
>>folder I get the error message
>>
>>"cannot delete file: Cannot read from the source file or disk." in a
>>message box.
>>
>>
>>I have tried running chkdsk and found no errors, I have defragged my
>>drive and I have also tried deleting them from the command prompt, using
>>the rmdir command which returns "the system cannot find the file
>>specified" as an error, and del returns "could not find c:\......."
>>where ..... is the path the directory.
>>
>>Does anyone have a magic wand ?
>>
>>They have been there now for 18 months and they are like an itch I can't
>>scratch, and keep going back to. This is about my 3rd post, all previous
>>ideas having failed.
>>
>>Cheers

>
>
>


 
Reply With Quote
 
Patti MacLeod
Guest
Posts: n/a
 
      31st Dec 2004
You're welcome :-)

Glad that I was able to point you in the right direction.



Regards,

--
Patti MacLeod
Microsoft MVP - Windows Shell/User

"Paul Gibbs" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Thanks,
>
> Got rid of my itch. Your dir /x was a help. I also discovered that two
> of the folders had hidden files in them which didn't help matters. I
> used the attrib command and managed to sort it out. Also found that the
> rmdir used with the /s was a big help.
>
> If anyone is interested, a tip from an old fossil. when using commands
> at a dos prompt, if you are unsure what switches you can use type the
> command followed by /? and you will get a list of the possibilities. i.e
> dir /?
>
> Cheers
>
> Paul
>
> Patti MacLeod wrote:
> > Hi Gibbylinks,
> >
> > If you haven't done so already, give this a try.......
> >
> > Open a Command Prompt window, navigate to the parent directory of the
> > "problem" subdirectories, then key in:
> > dir /x
> > This will display both the Short File Name and the Long File Name for

the
> > directories (for example, the Short File Name for the Long File Name of
> > Program Files is Progra~1). Take note of the Short File Name for the
> > "problem" subdirectories, then try deleting them, using the rmdir

command,
> > using the Short File Name.
> >
> >
> >
> > Regards,
> >
> > --
> > Patti MacLeod
> > Microsoft MVP - Windows Shell/User
> >
> > "Gibbylinks" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> >
> >>I have 4 or 5 sub-directories that I can't delete. I can create files
> >>within them and delete them no problem, but when I try to delete the
> >>folder I get the error message
> >>
> >>"cannot delete file: Cannot read from the source file or disk." in a
> >>message box.
> >>
> >>
> >>I have tried running chkdsk and found no errors, I have defragged my
> >>drive and I have also tried deleting them from the command prompt, using
> >>the rmdir command which returns "the system cannot find the file
> >>specified" as an error, and del returns "could not find c:\......."
> >>where ..... is the path the directory.
> >>
> >>Does anyone have a magic wand ?
> >>
> >>They have been there now for 18 months and they are like an itch I can't
> >>scratch, and keep going back to. This is about my 3rd post, all previous
> >>ideas having failed.
> >>
> >>Cheers

> >
> >
> >

>



 
Reply With Quote
 
no_spam@no_where.invalid
Guest
Posts: n/a
 
      2nd Jan 2005
"Patti MacLeod" <(E-Mail Removed)> wrote:

>You're welcome :-)
>
>Glad that I was able to point you in the right direction.
>
>
>
>Regards,
>
>--
>Patti MacLeod
>Microsoft MVP - Windows Shell/User
>
>"Paul Gibbs" <(E-Mail Removed)> wrote in message
>news:(E-Mail Removed)...
>> Thanks,
>>
>> Got rid of my itch. Your dir /x was a help. I also discovered that two
>> of the folders had hidden files in them which didn't help matters. I
>> used the attrib command and managed to sort it out. Also found that the
>> rmdir used with the /s was a big help.
>>
>> If anyone is interested, a tip from an old fossil. when using commands
>> at a dos prompt, if you are unsure what switches you can use type the
>> command followed by /? and you will get a list of the possibilities. i.e
>> dir /?
>>
>> Cheers
>>
>> Paul
>>
>> Patti MacLeod wrote:
>> > Hi Gibbylinks,
>> >
>> > If you haven't done so already, give this a try.......
>> >
>> > Open a Command Prompt window, navigate to the parent directory of the
>> > "problem" subdirectories, then key in:
>> > dir /x
>> > This will display both the Short File Name and the Long File Name for

>the
>> > directories (for example, the Short File Name for the Long File Name of
>> > Program Files is Progra~1). Take note of the Short File Name for the
>> > "problem" subdirectories, then try deleting them, using the rmdir

>command,
>> > using the Short File Name.
>> >
>> >
>> >
>> > Regards,
>> >
>> > --
>> > Patti MacLeod
>> > Microsoft MVP - Windows Shell/User
>> >
>> > "Gibbylinks" <(E-Mail Removed)> wrote in message
>> > news:(E-Mail Removed)...
>> >
>> >>I have 4 or 5 sub-directories that I can't delete. I can create files
>> >>within them and delete them no problem, but when I try to delete the
>> >>folder I get the error message
>> >>
>> >>"cannot delete file: Cannot read from the source file or disk." in a
>> >>message box.
>> >>
>> >>
>> >>I have tried running chkdsk and found no errors, I have defragged my
>> >>drive and I have also tried deleting them from the command prompt, using
>> >>the rmdir command which returns "the system cannot find the file
>> >>specified" as an error, and del returns "could not find c:\......."
>> >>where ..... is the path the directory.
>> >>
>> >>Does anyone have a magic wand ?
>> >>
>> >>They have been there now for 18 months and they are like an itch I can't
>> >>scratch, and keep going back to. This is about my 3rd post, all previous
>> >>ideas having failed.
>> >>
>> >>Cheers
>> >
>> >
>> >

>>

>

Now if you would just learn how to post on Usenet you would be a
wonderful person in all ways.

--
A: Maybe because some people are too annoyed by top-posting.
Q: Why do I not get an answer to my question(s)?
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
 
Reply With Quote
 
Patti MacLeod
Guest
Posts: n/a
 
      2nd Jan 2005


no_spam@no_where.invalid> wrote in message
news:(E-Mail Removed)...

Now if you would just learn how to post on Usenet you would be a
wonderful person in all ways.

A: Maybe because some people are too annoyed by top-posting.
Q: Why do I not get an answer to my question(s)?
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

Thank you for the lesson in netiquette. I bottom post if the flow of the
thread has been to bottom post, otherwise, I far prefer top posting.



Regards,

--
Patti MacLeod
Microsoft MVP - Windows Shell/User


 
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
Delete data in a linked Excel sheet using Access code or seql delete Rocky Microsoft Access External Data 9 26th Jun 2005 12:42 AM
Re: Macro to delete sheets and saves remaining file does not properly delete module gazornenplat Microsoft Excel Programming 0 22nd Jun 2005 01:12 AM
Macro to delete sheets and saves remaining file does not properly delete module pherrero Microsoft Excel Programming 7 21st Jun 2005 05:16 PM
Delete every 3rd row, then delete rows 2-7, move info f/every 2nd row up one to the end and delete the row below Annette Microsoft Excel Programming 2 21st Sep 2004 02:40 PM
Re: When I highlight a sentence to delete, Word won't let me. I have to backspace. How can I deleted selected text with my delete key? Bill Foley Microsoft Word Document Management 1 4th Feb 2004 11:06 PM


Features
 

Advertising
 

Newsgroups
 


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