PC Review


Reply
Thread Tools Rate Thread

Can't delete file (possibly name too long)

 
 
Andy Harris
Guest
Posts: n/a
 
      8th Dec 2003
I am running Windows 2000 and I have a jpg file which the
system will not let me delete. I think that it is a
possibility that the file name is too long.
I was in the process of trying to delete some old
directories and I got an error message stating that it
file *.jpg (the actual file name is a very long title for
the photo) because the file did not exist. However, if you
go into the directory where the file is, you can see the
file (in Windows Explorer). If you try to carry out any
functions on the file (copy, delete, rename, etc.) it does
nothing (no error message, nothing, it just seems to
ignore the command).
If you go to the folder for that directory and try to
delete the folder you get the "file *.jg does not exist"
error message and it will not delete the directory.
The file name is an extremely long name (I have not
counted the exact number of characters) so I am wondering
it perhaps the name is invalid.
Anyone have any suggestions as to how I can delete the
file?
(I have tried going to a command prompt and still cannot
delete the file there either).
 
Reply With Quote
 
 
 
 
Guest
Posts: n/a
 
      8th Dec 2003
Did you try to end the proces from the task manager? What
name does the file have from the command prompt? You may
have to delete it from the command prompt before Windows
loads.
>-----Original Message-----
>I am running Windows 2000 and I have a jpg file which the
>system will not let me delete. I think that it is a
>possibility that the file name is too long.
>I was in the process of trying to delete some old
>directories and I got an error message stating that it
>file *.jpg (the actual file name is a very long title for
>the photo) because the file did not exist. However, if

you
>go into the directory where the file is, you can see the
>file (in Windows Explorer). If you try to carry out any
>functions on the file (copy, delete, rename, etc.) it

does
>nothing (no error message, nothing, it just seems to
>ignore the command).
>If you go to the folder for that directory and try to
>delete the folder you get the "file *.jg does not exist"
>error message and it will not delete the directory.
>The file name is an extremely long name (I have not
>counted the exact number of characters) so I am wondering
>it perhaps the name is invalid.
>Anyone have any suggestions as to how I can delete the
>file?
>(I have tried going to a command prompt and still cannot
>delete the file there either).
>.
>

 
Reply With Quote
 
Guest
Posts: n/a
 
      8th Dec 2003
Theres no process to end in task manager as nothing is
hanging up.
The file name at command prompt is the first few letters
of the file name followed by ~ (just like DOS shows file
names longer that 8.3).

>-----Original Message-----
>Did you try to end the proces from the task manager?

What
>name does the file have from the command prompt? You may
>have to delete it from the command prompt before Windows
>loads.
>>-----Original Message-----
>>I am running Windows 2000 and I have a jpg file which

the
>>system will not let me delete. I think that it is a
>>possibility that the file name is too long.
>>I was in the process of trying to delete some old
>>directories and I got an error message stating that it
>>file *.jpg (the actual file name is a very long title

for
>>the photo) because the file did not exist. However, if

>you
>>go into the directory where the file is, you can see the
>>file (in Windows Explorer). If you try to carry out any
>>functions on the file (copy, delete, rename, etc.) it

>does
>>nothing (no error message, nothing, it just seems to
>>ignore the command).
>>If you go to the folder for that directory and try to
>>delete the folder you get the "file *.jg does not exist"
>>error message and it will not delete the directory.
>>The file name is an extremely long name (I have not
>>counted the exact number of characters) so I am

wondering
>>it perhaps the name is invalid.
>>Anyone have any suggestions as to how I can delete the
>>file?
>>(I have tried going to a command prompt and still cannot
>>delete the file there either).
>>.
>>

>.
>

 
Reply With Quote
 
R. C. White
Guest
Posts: n/a
 
      8th Dec 2003
Hi, Anonymous.

Can you isolate the unwanted file in a folder by itself - and then remove
the folder? You may need to move all the other files and subfolders out of
this folder, since you can't move this file. Once you've removed everything
you want to keep from that folder, then, at a command prompt, type: rd
<folder> /s

The /s switch removes the named folder, plus all subfolders and files within
it - without asking their names.

RC
--
R. C. White, CPA
San Marcos, TX
(E-Mail Removed)
Microsoft Windows MVP

<(E-Mail Removed)> wrote in message
news:f3d101c3bdab$9e4d28e0$(E-Mail Removed)...
> Theres no process to end in task manager as nothing is
> hanging up.
> The file name at command prompt is the first few letters
> of the file name followed by ~ (just like DOS shows file
> names longer that 8.3).
>
> >-----Original Message-----
> >Did you try to end the proces from the task manager?

> What
> >name does the file have from the command prompt? You may
> >have to delete it from the command prompt before Windows
> >loads.
> >>-----Original Message-----
> >>I am running Windows 2000 and I have a jpg file which

> the
> >>system will not let me delete. I think that it is a
> >>possibility that the file name is too long.
> >>I was in the process of trying to delete some old
> >>directories and I got an error message stating that it
> >>file *.jpg (the actual file name is a very long title

> for
> >>the photo) because the file did not exist. However, if

> >you
> >>go into the directory where the file is, you can see the
> >>file (in Windows Explorer). If you try to carry out any
> >>functions on the file (copy, delete, rename, etc.) it

> >does
> >>nothing (no error message, nothing, it just seems to
> >>ignore the command).
> >>If you go to the folder for that directory and try to
> >>delete the folder you get the "file *.jg does not exist"
> >>error message and it will not delete the directory.
> >>The file name is an extremely long name (I have not
> >>counted the exact number of characters) so I am

> wondering
> >>it perhaps the name is invalid.
> >>Anyone have any suggestions as to how I can delete the
> >>file?
> >>(I have tried going to a command prompt and still cannot
> >>delete the file there either).



 
Reply With Quote
 
Guest
Posts: n/a
 
      9th Dec 2003
I had the exact same problem and this solution worked for
me. Thanks for your help.
>-----Original Message-----
>Hi, Anonymous.
>
>Can you isolate the unwanted file in a folder by itself -

and then remove
>the folder? You may need to move all the other files and

subfolders out of
>this folder, since you can't move this file. Once you've

removed everything
>you want to keep from that folder, then, at a command

prompt, type: rd
><folder> /s
>
>The /s switch removes the named folder, plus all

subfolders and files within
>it - without asking their names.
>
>RC
>--
>R. C. White, CPA
>San Marcos, TX
>(E-Mail Removed)
>Microsoft Windows MVP
>
><(E-Mail Removed)> wrote in message
>news:f3d101c3bdab$9e4d28e0$(E-Mail Removed)...
>> Theres no process to end in task manager as nothing is
>> hanging up.
>> The file name at command prompt is the first few letters
>> of the file name followed by ~ (just like DOS shows file
>> names longer that 8.3).
>>
>> >-----Original Message-----
>> >Did you try to end the proces from the task manager?

>> What
>> >name does the file have from the command prompt? You

may
>> >have to delete it from the command prompt before

Windows
>> >loads.
>> >>-----Original Message-----
>> >>I am running Windows 2000 and I have a jpg file which

>> the
>> >>system will not let me delete. I think that it is a
>> >>possibility that the file name is too long.
>> >>I was in the process of trying to delete some old
>> >>directories and I got an error message stating that it
>> >>file *.jpg (the actual file name is a very long title

>> for
>> >>the photo) because the file did not exist. However, if
>> >you
>> >>go into the directory where the file is, you can see

the
>> >>file (in Windows Explorer). If you try to carry out

any
>> >>functions on the file (copy, delete, rename, etc.) it
>> >does
>> >>nothing (no error message, nothing, it just seems to
>> >>ignore the command).
>> >>If you go to the folder for that directory and try to
>> >>delete the folder you get the "file *.jg does not

exist"
>> >>error message and it will not delete the directory.
>> >>The file name is an extremely long name (I have not
>> >>counted the exact number of characters) so I am

>> wondering
>> >>it perhaps the name is invalid.
>> >>Anyone have any suggestions as to how I can delete the
>> >>file?
>> >>(I have tried going to a command prompt and still

cannot
>> >>delete the file there either).

>
>
>.
>

 
Reply With Quote
 
Lamar
Guest
Posts: n/a
 
      9th Dec 2003
I had the identical problem and this solution worked for
me. Thanks for your help.

>-----Original Message-----
>Hi, Anonymous.
>
>Can you isolate the unwanted file in a folder by itself -

and then remove
>the folder? You may need to move all the other files and

subfolders out of
>this folder, since you can't move this file. Once you've

removed everything
>you want to keep from that folder, then, at a command

prompt, type: rd
><folder> /s
>
>The /s switch removes the named folder, plus all

subfolders and files within
>it - without asking their names.
>
>RC
>--
>R. C. White, CPA
>San Marcos, TX
>(E-Mail Removed)
>Microsoft Windows MVP
>
><(E-Mail Removed)> wrote in message
>news:f3d101c3bdab$9e4d28e0$(E-Mail Removed)...
>> Theres no process to end in task manager as nothing is
>> hanging up.
>> The file name at command prompt is the first few letters
>> of the file name followed by ~ (just like DOS shows file
>> names longer that 8.3).
>>
>> >-----Original Message-----
>> >Did you try to end the proces from the task manager?

>> What
>> >name does the file have from the command prompt? You

may
>> >have to delete it from the command prompt before

Windows
>> >loads.
>> >>-----Original Message-----
>> >>I am running Windows 2000 and I have a jpg file which

>> the
>> >>system will not let me delete. I think that it is a
>> >>possibility that the file name is too long.
>> >>I was in the process of trying to delete some old
>> >>directories and I got an error message stating that it
>> >>file *.jpg (the actual file name is a very long title

>> for
>> >>the photo) because the file did not exist. However, if
>> >you
>> >>go into the directory where the file is, you can see

the
>> >>file (in Windows Explorer). If you try to carry out

any
>> >>functions on the file (copy, delete, rename, etc.) it
>> >does
>> >>nothing (no error message, nothing, it just seems to
>> >>ignore the command).
>> >>If you go to the folder for that directory and try to
>> >>delete the folder you get the "file *.jg does not

exist"
>> >>error message and it will not delete the directory.
>> >>The file name is an extremely long name (I have not
>> >>counted the exact number of characters) so I am

>> wondering
>> >>it perhaps the name is invalid.
>> >>Anyone have any suggestions as to how I can delete the
>> >>file?
>> >>(I have tried going to a command prompt and still

cannot
>> >>delete the file there either).

>
>
>.
>

 
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
http://LongPathTool.com - copy and delete path too long filesWindows tool to copy or delete files and folders with path too long orfilename too long error. Just browse to the file and press a button to copyor detele it, thats it! The applicati Martin Krag Windows XP MovieMaker 0 24th Apr 2011 12:27 PM
http://LongPathTool.com - find and delete/copy path too long filesfrom your hard drive or LAN Windows tool to copy or delete files and folderswith path too long or filename too long error. Just browse to the file andpress a button to copy or d Martin Krag Windows XP Internet Explorer 0 22nd Apr 2011 10:08 AM
http://LongPathTool.com - find and delete/copy path too long filesfrom your hard drive or LAN Windows tool to copy or delete files and folderswith path too long or filename too long error. Just browse to the file andpress a button to copy or d Martin Krag Windows XP Networking 0 22nd Apr 2011 10:07 AM
http://LongPathTool.com - find and delete/copy path too long filesfrom your hard drive or LAN Windows tool to copy or delete files and folderswith path too long or filename too long error. Just browse to the file andpress a button to copy or d Martin Krag Windows XP Setup 0 22nd Apr 2011 10:06 AM
http://LongPathTool.com - find and delete/copy path too long filesfrom your hard drive or LAN Windows tool to copy or delete files and folderswith path too long or filename too long error. Just browse to the file andpress a button to copy or d Martin Krag Windows XP Configuration 0 22nd Apr 2011 10:05 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:22 AM.