Re: Invalid Directory Name

D

Dave Patrick

From a command prompt try;

del \\.\Drive:\directory\filename
(Note: the period between \\ and \)

Also

dir /x
and try deleting them using their 8.3 short names.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft MVP [Windows NT/2000 Operating Systems]

Jim Romanchek said:
I've looked at most of the files and they appear to be recoverable. My problem
is with the directory where they should be. I con't get them there because W2k
won't let me access that former directory.
Thanks for your response,
Jim

Dave said:
What happened when you restarted the pc was chkdsk ran and found broken
chains/ lost clusters, then created *.chk files of them so you can delete
them and regain the otherwise lost drive space. They're not really meant to
be recoverable files, you can go ahead and delete the files to regain the
lost space. You can open them with a text editor and attempt to copy the
parts you need to another file. This may be the precursor to drive failure.

From a command prompt try;

del \\.\Drive:\directory\filename
(Note: the period between \\ and \)

Also

dir /x
and try deleting them using their 8.3 short names.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft MVP [Windows NT/2000 Operating Systems]

Jim Romanchek said:
Chkdsk created a couple of "found....." folders. When I examined them I
recognized where the files should be. In Windows Explorer I navigated
to the old folder, which still was listed, and tried to copy the found
files back to where they belonged. Error Message: "the directory name
is invalid."
I can't rename the directory, delete it, or do anything to it from
either Windows 2000, Safe Mode, Command Prompt, or anything else I try.

HELP!!!!

Thanks,
Jim R
 
J

Jim Romanchek

Dave
Thanks for the link. I think we're getting close. I have the POSIX subsystem files &
console, but I don't have the Resource Tool Kit, so I don't have the "rm.exe" tool --
unless it is buried somewhere else. Searches for it don't yield any results. If you
have it can you send me a copy?
Thanks,
Jim

Dave said:
You should already have it. This may help.

http://www.microsoft.com/windows2000/techinfo/reskit/en-us/prork/pric_run_klgm.asp

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft MVP [Windows NT/2000 Operating Systems]

Jim Romanchek said:
Hi Dave,
Thanks for trying, but nothing worked.
I found a Microsoft Knowledge Base article (120716) that talks about a POSIX
program called "Rm.exe" that lets you delete files from an NTFS system. I've
looked on MS web site, but it doesn't seem to be available. It supposedly came
with the W2k Resource Kit. Any ideas as to where I might find this program?
Thanks,
Jim
 
D

Dave Patrick

That tool is part of Windows NT Services for UNIX The other option was to
try;

del \\.\Drive:\directory\filename
(Note: the period between \\ and \)

If this did not work, then rm.exe probably wouldn't either.
 
J

Jim Romanchek

Thanks for trying, but nothing seems to work. There are 2 folders that I
can't open, change, or delete. They are the "Favorites" folder and "My
Pictures" under "my documents". Curiously I can move them around by
dragging, but even when I put them somewhere else I still can't open them.
Any other suggestions short of reformating and reloading everything?
Thanks,
Jim

Dave said:
That tool is part of Windows NT Services for UNIX The other option was to
try;

del \\.\Drive:\directory\filename
(Note: the period between \\ and \)

If this did not work, then rm.exe probably wouldn't either.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft MVP [Windows NT/2000 Operating Systems]

Jim Romanchek said:
Dave
Thanks for the link. I think we're getting close. I have the POSIX subsystem files &
console, but I don't have the Resource Tool Kit, so I don't have the "rm.exe" tool --
unless it is buried somewhere else. Searches for it don't yield any results. If you
have it can you send me a copy?
Thanks,
Jim
 
D

Dave Patrick

Those would be part of the user profile. Logon as local administrator, copy
the parts you need from the profile, then rename or delete it. The next time
the user logs on a new profile will be created from the image in \default
user
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top