Re: The directory is invalid



You can try this. If this is a non-OS drive, stop any services using any
data on the drive, move all other data off the drive, format the drive, then
copy all the data back, restart any services.

--
Todd J Heron, MCSE
Windows Server 2003/2000/NT; CCA
----------------------------------------------------------------------------
This posting is provided "as is" with no warranties and confers no rights

"R Macioce" <RMacioce@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:7FBC05B2-FB81-45E3-B231-1462D7AC7E50@xxxxxxxxxxxxxxxx
There is no period at the end of end of the path. It was just the way I
typed the sentence, sorry for misleading you.

I tried methods 1,3 and 4 and encountered the same error. Regarding method
2, I found the resource kit download at MS, but the download did not expand
to uncompress files, it tried to install the resource kit on my W2K3 server
and hung, so I terminated it. I could not find a copy on the web.

I sucessfully cut and paste the folder to another folder (which is how I
achieved trying Method#3 which still failed).

I would appreciate any other suggestions. Thanks for your help.
--
R Macioce


"Todd J Heron" wrote:

> A "." is an illegal filename in Windows and is illegal to use at the end
> of
> a file of folder name. Notice the trailing period at the end of your
> directory.
>
> Method #1:
> Delete any file/folder from the command prompt by prefixing the full path
> with "\\.\"
>
> Example A: rd \\.\C:\folder\subfolder
> Example B: del \\.\C:\folder\file
>
> Note: Be certain to leave out the space after the period following the
> double slashes: \\.\. Otherwise an error stating "The filename,
> directory
> name, or volume label syntax is incorrect" will occur. Also, sometimes a
> directory name cannot be seen because it appears as a space. Find out the
> 8.3 Name generated for it by running dir /x from a command prompt then
> delete the file by using the 8.3 name.
>
> Method #2: Use rm.exe from the NT Resource kit.
>
> Note: Use wildcards in the file name if it is excessively long or has
> hidden/special characters:
>
> del \\.\C:\foldername\*some-file-name*.*
>
> Method #3:
> Change the name of the parent directory to be shorter then try to delete
> the
> file.
>
> Method #4:
> At a CMD prompt, execute a dir /x /a command to get the short name of the
> folder, and then execute a simple rmdir command to remove the folder.
>
> Further reference:
> How to Remove Files with Reserved Names in Windows
> http://support.microsoft.com/kb/q120716/
>
> You cannot delete a file or a folder on an NTFS file system volume
> http://support.microsoft.com/?kbid=320081
>
> Another great tool:
> http://www.deletefxpfiles.com/
>
> And:
> http://helpdesk.kixtart.org/KixUtilsTasks.asp
>
> --
> Todd J Heron, MCSE
> Windows Server 2003/2000/NT; CCA
> ----------------------------------------------------------------------------
> This posting is provided "as is" with no warranties and confers no rights
>
> "R Macioce" <RMacioce@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:99C78AFF-8B98-4B8C-B8F3-DA6E12DF6BE7@xxxxxxxxxxxxxxxx
> My backup exec backup is failing with the error Access denied to directory
> Websites\OurDotCom\Sites\images\_notes\home_page_wrench_r20_c14.gif.mno\.
> When I go to this directory in file explorer I get the error "The
> directory
> is invalid". I have tried deleting it by removing the read only attribute
> and through dos and still have no success. It contains 0 bytes per the
> properties Does anyone have know how I can get rid of this directory?
> --
> R Macioce
>
>

.



Relevant Pages

  • Re: Whered my hard drive space go?
    ... Volumes in Windows XP ... check your folder shares, check the status of the Guest Account, and check ... Tales from the Script - November 2003 ... from the command prompt, ...
    (microsoft.public.windowsxp.basics)
  • RE: Error 0x080248011
    ... Open Windows Explorer ... Click on the + next to the Windows folder ... After you are in command prompt try the following commands. ... net start wuauserv ...
    (microsoft.public.windowsupdate)
  • Re: Error Message -Item Not Found-
    ... Yep the command prompt works, just got rid of 4 folders from my desktop that ... Will A fix for this come out in SP 599 or will MS refund 50% of the VISTA ... Microsoft Windows MVP ... That should leave you at the Command Prompt and in that folder; ...
    (microsoft.public.windows.vista.file_management)
  • Re: Book - A Desktop Icon keeps reappearing, even after deletion
    ... The "Book" Folder reappeared thei morning. ... Directory" from the Command Prompt. ... there is a specific trigger that results in the reappearance. ... >>I am running Windows XP Professional SP2 and am up to date with patches. ...
    (microsoft.public.windowsxp.general)
  • Re: windows directory is ever increasing
    ... Volumes in Windows XP ... Tales from the Script - November 2003 ... from the command prompt, ... - Open the command prompt to the folder containing the ...
    (microsoft.public.windowsxp.perform_maintain)