Microsoft Windows Vista Community Forums - Vistaheads
Recommended Download

Welcome to the Microsoft Windows Vista Community Forums - Vistaheads, YOUR Largest Resource for Windows Vista related information.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so , join our community today!

If you have any problems with the registration process or your account login, please contact us.

Driver Scanner

Cant delete file with zero length management

Speedup My PC
  #1 (permalink)  
Old 03-05-2009

Posts: n/a
Cant delete file with zero length
Somehow I have created a file with zero length - I can't delete it. When I
try I get "Illegal file entry" File system check shows all OK - how can I
get rid of it ?

Using Opera's revolutionary e-mail client:
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 03-11-2009
R. C. White

Posts: n/a
Re: Cant delete file with zero length
Hi, holdgaj,

Open a Command Prompt and use the old DOS command "Dir", from days before
Directories were Folders. Type "DIR /?" to see a mini-Help file with a list
of switches and parameters that can be used with the Dir command.

Navigate to the directory where your zero-byte file is. Then type "Dir" to
see a list of all the files and folders there, including your mystery file.
You can use Dir /os to "order" them by size; any zero-byte file should be at
the top. (If the list is too long, you can use Dir /o-s to put the
zero-byte file at the bottom of the listing.)

Then use Dir /x to produce the list with an extra column before the
filenames. See if your zero-byte file has a name that includes characters
that are not allowed in an 8.3 filename. If so, use that "short" filename
with the Del command to delete that file.

If all else fails, create a new folder and move everything EXCEPT the
zero-balance file to the new folder. Then use the RD (Remove Directory)
command with the /s switch to remove that entire directory tree, including
all the files and folders left in it; there should be only the one file that
you want to delete. Then you can rename your new folder to the original
name, if you like.

If these tricks don't work, post back with details. "Tried it" doesn't tell
us much; neither does "Didn't work". We need step by step details of what
you did and what you saw, including verbatim text of any error messages.

R. C. White, CPA
San Marcos, TX
Microsoft Windows MVP
Windows Live Mail 2009 (14.0.8064.0206) in Win7 Ultimate x64 7000

"holdgaj" <> wrote in message
> Somehow I have created a file with zero length - I can't delete it. When I
> try I get "Illegal file entry" File system check shows all OK - how can I
> get rid of it ?

Reply With Quote

Thread Tools
Display Modes

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

vB 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
Long file names=off, dir name with repetitious char like (50)length. ""Search will not work in that dir "" pzam management 0 01-17-2009 18:04
cannot delete a file due to error that file is open cloudgrin management 1 12-08-2008 13:21
cannot delete mail in delete file Ed Lapetina 2 05-22-2008 18:26
Article ID: 926672 The slide show length does not match the song length when you use the "Change slide show length to match music length" option in Windows Vista KBArticles English 0 10-22-2007 20:00

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

Driver Scanner - Free Scan Now is part of the Heads Network. See also , and

Design by Vjacheslav Trushkin for
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.6.0 RC 2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120