Directory problem

P

PapaC

I was installing some data on a new XP Home system. Using the command
prompt I made a directory \source. When I attempted to cd to the directory
I received a message that reported my entry as an invalid directory or
filename. I don't recall the exact text. A dir of the parent directory did
not report the directory. Explorer also did not show the directory.

However a dir \source* did list the directory, named as source. rm
\source* fails as rhew rmdir does not accept wildcards (msg is "The
filename, directory name, or volume label syntax is incorrect.")

I suspect a corrupted name with perhaps some non-displayable training
character. I have no idea how to eliminate it. I have toggled attributes in
vain. I would ignore it, except for tons of code which expects the \source
directory and perhaps a learning experience awaits.
 
W

Warren Young

I was installing some data on a new XP Home system. Using the command
prompt I made a directory \source. When I attempted to cd to the directory
I received a message that reported my entry as an invalid directory or
filename. I don't recall the exact text. A dir of the parent directory did
not report the directory. Explorer also did not show the directory.

However a dir \source* did list the directory, named as source. rm
\source* fails as rhew rmdir does not accept wildcards (msg is "The
filename, directory name, or volume label syntax is incorrect.")

I suspect a corrupted name with perhaps some non-displayable training
character. I have no idea how to eliminate it. I have toggled attributes in
vain. I would ignore it, except for tons of code which expects the \source
directory and perhaps a learning experience awaits.

Have you run a chkdsk /F against the taget volume?

Warren
 
R

roger

Hi PapaC,

On Mon, 10 May 2004 23:06:29 -0400, "PapaC"

[...]
I suspect a corrupted name with perhaps some non-displayable training
character. I have no idea how to eliminate it. I have toggled attributes in
vain. I would ignore it, except for tons of code which expects the \source
directory and perhaps a learning experience awaits.

Try doing a Dir /x of the parent directory and then delete the
troublesome directory with the command
rd name~1 /s
(the tilde character ~ is Alt 0126)

Good luck
 

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