Hi, Shoaib.
I'm not sure this will work for this problem, but it's worth a try.
Open a "DOS" window. Navigate to the directory above the one with the
problem. Type dir /x to see a normal directory with an extra column of
Short File Names (also known as SFN or 8.3 filenames) in front of the LFNs.
Use the SFN with the del command (or rd command for a directory) to delete
it. Or, if you want to keep the directory and explore beyond it, use ren
SFN to rename it to something that Windows can handle.
Let us know how this works. I've seen similar problems here many times, but
not this exact version. Others may be able to benefit from your experience.
In a newsgroup, we all learn from each other.
RC
--
R. C. White, CPA
San Marcos, TX
(E-Mail Removed)
Microsoft Windows MVP
"Shoaib" <(E-Mail Removed)> wrote in message
news:0f9f01c33ce5$5cf34510$(E-Mail Removed)...
> "the filename, directory name, or volume label syntax is
> incorrect. "
>
> The error occurs in windows explorer when u try to access
> any folder. The path to the directory is correct, but
> before the last branching directory there is a square
> symbol!!!! After you close explorer and open it again, it
> works!
>
> Any ideas how to permanently get rid of this situation!!