![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #2 (permalink) |
| Guest | Re: File name too long for deletion Try this: - Open an elevated command prompt (right-click, run as administrator) - Type the following: del "\\?\PATH_TO_FILE\filename" Where PATH_TO_FILE is the full path to the file. For example, if the file was named: This is a really huge file And it was located in: c:\users\me\documents You would type: del "\\?\c:\users\me\documents\This is a really huge file" -- -JB Microsoft MVP - Windows Shell Windows Vista Support FAQ - http://www.jimmah.com/vista/ On Sat, 19 May 2007 20:51:01 -0700, Shalalith <Shalalith@discussions.microsoft.com> wrote: >I have a filename that is really long, but vista will not let me delete it. >I have tried several other ways, but they do not work. I also cannot rename >it so that the name is smaller. What should I do? |
| | #3 (permalink) |
| Guest | Re: File name too long for deletion Thank you for trying Jimmy, but unfortunately that didn't work. Command Prompt gave me a Filename or Extention too long for deletion. "Jimmy Brush" wrote: > Try this: > > - Open an elevated command prompt (right-click, run as administrator) > - Type the following: > > del "\\?\PATH_TO_FILE\filename" > > Where PATH_TO_FILE is the full path to the file. For example, if the > file was named: > > This is a really huge file > > And it was located in: > > c:\users\me\documents > > You would type: > > del "\\?\c:\users\me\documents\This is a really huge file" > > -- > -JB > Microsoft MVP - Windows Shell > Windows Vista Support FAQ - http://www.jimmah.com/vista/ > > On Sat, 19 May 2007 20:51:01 -0700, Shalalith > <Shalalith@discussions.microsoft.com> wrote: > > >I have a filename that is really long, but vista will not let me delete it. > >I have tried several other ways, but they do not work. I also cannot rename > >it so that the name is smaller. What should I do? > |
| | #4 (permalink) |
| Guest | Re: File name too long for deletion Can you post the name of the file? Or, post what folder the file is in, and how many characters is in the file name? -- -JB Microsoft MVP - Windows Shell Windows Vista Support FAQ - http://www.jimmah.com/vista/ On Sun, 20 May 2007 10:56:02 -0700, Shalalith <Shalalith@discussions.microsoft.com> wrote: >Thank you for trying Jimmy, but unfortunately that didn't work. Command >Prompt gave me a Filename or Extention too long for deletion. > >"Jimmy Brush" wrote: > >> Try this: >> >> - Open an elevated command prompt (right-click, run as administrator) >> - Type the following: >> >> del "\\?\PATH_TO_FILE\filename" >> >> Where PATH_TO_FILE is the full path to the file. For example, if the >> file was named: >> >> This is a really huge file >> >> And it was located in: >> >> c:\users\me\documents >> >> You would type: >> >> del "\\?\c:\users\me\documents\This is a really huge file" >> >> -- >> -JB >> Microsoft MVP - Windows Shell >> Windows Vista Support FAQ - http://www.jimmah.com/vista/ >> >> On Sat, 19 May 2007 20:51:01 -0700, Shalalith >> <Shalalith@discussions.microsoft.com> wrote: >> >> >I have a filename that is really long, but vista will not let me delete it. >> >I have tried several other ways, but they do not work. I also cannot rename >> >it so that the name is smaller. What should I do? >> |
| | #5 (permalink) |
| Guest | Re: File name too long for deletion Can you temporarily shorten the file's path, by renaming the parent folders? For example, from C:\FancyName1\FancyName2\FancyName3\FancyName4\Thisisareallyhugefile.xxx To C:\1\2\3\4\Thisisareallyhugefile.xxx Is the file movable? Create a temporary new account, move the file under that account, and then delete the account. Or, you could try this utility: http://www.purgeie.com/delinv/index.htm "Shalalith" <Shalalith@discussions.microsoft.com> wrote in message news:1B779C2C-A6E6-4660-9518-44ADFB204C5A@microsoft.com... > Thank you for trying Jimmy, but unfortunately that didn't work. Command > Prompt gave me a Filename or Extention too long for deletion. > > "Jimmy Brush" wrote: > >> Try this: >> >> - Open an elevated command prompt (right-click, run as administrator) >> - Type the following: >> >> del "\\?\PATH_TO_FILE\filename" >> >> Where PATH_TO_FILE is the full path to the file. For example, if the >> file was named: >> >> This is a really huge file >> >> And it was located in: >> >> c:\users\me\documents >> >> You would type: >> >> del "\\?\c:\users\me\documents\This is a really huge file" >> >> -- >> -JB >> Microsoft MVP - Windows Shell >> Windows Vista Support FAQ - http://www.jimmah.com/vista/ >> >> On Sat, 19 May 2007 20:51:01 -0700, Shalalith >> <Shalalith@discussions.microsoft.com> wrote: >> >> >I have a filename that is really long, but vista will not let me delete >> >it. >> >I have tried several other ways, but they do not work. I also cannot >> >rename >> >it so that the name is smaller. What should I do? >> |
| | #6 (permalink) |
| Guest | Re: File name too long for deletion I love you dean-dean.. this utility worked perfectly. <3 > Or, you could try this utility: > http://www.purgeie.com/delinv/index.htm |
| |
| |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| secure file deletion | Zoloft | Software | 6 | 06-21-2008 01:21 AM |
| why can't I protect a file from deletion ? | keepout | Vista General | 2 | 01-04-2008 04:55 PM |
| File deletion bug - and then what?!?! | Lasse | Live Folder Share | 2 | 01-03-2008 05:55 AM |
| coping file from a remote file share - FILE IS NO LONG THERE bogus error message | Heith | Vista networking & sharing | 0 | 10-18-2007 03:58 PM |
| Network file deletion | Wally | Vista file management | 2 | 05-24-2007 10:20 AM |