Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

The STRANGEST error!

Jul
304
0
If I type "cd temp" I get an error "The system cannot find the file specified "temp".

I checked to see if I had an alias temp, but no.

I tried logging off, but no. AND I tried rebooting. nada.

What the heck?

Regards,
Chuck Billow
 
Do you mean cd %temp? I have no problem, assuming of course there _is_ a
temp in the current folder.

On Mon, Jun 13, 2011 at 20:55, CWBillow <> wrote:


> If I type "cd temp" I get an error "The system cannot find the file
> specified "temp".
>
> I checked to see if I had an alias temp, but no.
>
> I tried logging off, but no.
>
> What the heck?
>
> Regards,
> Chuck Billow
>
>
>
>
>



--
Jim Cook
2011 Monday: 4/4, 6/6, 8/8, 10/10, 12/12 and 5/9, 9/5, 7/11, 11/7.
Next year they're Tuesday.
 
Jim, no, I just mean, from the root folder / directory, CD temp, and yea, it's there.

Chuck

Do you mean cd %temp? I have no problem, assuming of course there _is_ a
temp in the current folder.

On Mon, Jun 13, 2011 at 20:55, CWBillow <> wrote:






--
Jim Cook
2011 Monday: 4/4, 6/6, 8/8, 10/10, 12/12 and 5/9, 9/5, 7/11, 11/7.
Next year they're Tuesday.
 
If I type "cd temp" I get an error "The system cannot find the file specified "temp".

I checked to see if I had an alias temp, but no.

I tried logging off, but no. AND I tried rebooting. nada.

What the heck?

How about an alias for CD?

Does it work if you give the full pathname, e.g. CD C:\TEMP ?
 
If I type "cd temp" I get an error "The system cannot find the file specified "temp".
Are you sure that is the error message? I tried with a missing temp directory (also with a "temp" file instead of a directory) and got a "path specified" message, not a "file specified" message.
Code:
[J:\]cd temp
TCC: (Sys) The system cannot find the path specified.
 "temp"

[J:\]cmd
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

J:\>cd temp
The system cannot find the path specified.
 
I'm sure. But I was setting up other stuff anyway, so I just restored from an image.

I would just like to know what the heck caused that.

Regards,
Chuck

Are you sure that is the error message? I tried with a missing temp directory (also with a "temp" file instead of a directory) and got a "path specified" message, not a "file specified" message.
Code:
[J:\]cd temp
TCC: (Sys) The system cannot find the path specified.
 "temp"
 
[J:\]cmd
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
 
J:\>cd temp
The system cannot find the path specified.
 
If I type "cd temp" I get an error "The system cannot find the file specified "temp".

I checked to see if I had an alias temp, but no.

I tried logging off, but no. AND I tried rebooting. nada.

What the heck?

Regards,
Chuck Billow

The same error here (testing the Spanish version of TC under Spanish W7):

which cd
cd es un comando interno
(cd is an internal command)

cd temp

TCC: (Sys) El sistema no puede encontrar el archivo especificado.
"temp"

(The system cannot find the file specified "temp")
 
The same error here (testing the Spanish version of TC under Spanish W7):

which cd
cd es un comando interno
(cd is an internal command)

cd temp

TCC: (Sys) El sistema no puede encontrar el archivo especificado.
"temp"

(The system cannot find the file specified "temp")

Two things:

1) That's a system (Windows) error message, not a TCC error. TCC is just displaying the error text that Windows sends.

2) Windows (appparently randomly) returns three different error codes for "file not found / path not found", so don't try to read anything mysterious into the actual text displayed. All you can be sure of is that Windows didn't find something (either a path or a file).
 
Rex, strange as the devil nonetheless. It's "transparent" in windows apps -- I see and can access the file/folder in explorer.

Very starnge...

Two things:

1) That's a system (Windows) error message, not a TCC error. TCC is just displaying the error text that Windows sends.

2) Windows (appparently randomly) returns three different error codes for "file not found / path not found", so don't try to read anything mysterious into the actual text displayed. All you can be sure of is that Windows didn't find something (either a path or a file).
 
Two things:

1) That's a system (Windows) error message, not a TCC error. TCC is just displaying the error text that Windows sends.

2) Windows (appparently randomly) returns three different error codes for "file not found / path not found", so don't try to read anything mysterious into the actual text displayed. All you can be sure of is that Windows didn't find something (either a path or a file).

It is not strange message for me, it is incorrect. When one tries to "cd" to an existent file (not directory), the error message is correct.

cd file

TCC: (Sys) El nombre del directorio no es válido.
"file"

(The name of the directory is not valid.
"file")

It is a Windows message, of course.
 
On Fri, 17 Jun 2011 08:53:22 -0400, oph <> wrote:

|It is not strange message for me, it is incorrect. When one tries to "cd" to an existent file (not directory), the error message is correct.
|
|cd file
|
|TCC: (Sys) El nombre del directorio no es válido.
| "file"
|
|(The name of the directory is not valid.
|"file")
|
|It is a Windows message, of course.

Investigate the Windows error messages like this.

Code:
v:\> do i in /L 2 3 267 (echo %i^t%@errtext[%i])
2       The system cannot find the file specified.
3       The system cannot find the path specified.
267     The directory name is invalid.

How Windows uses them is a bit mysterious.

Code:
v:\> cd no_exist.txt
TCC: (Sys) The system cannot find the file specified.
 "no_exist.txt"

v:\> cd c:\no_exist\no_exist.txt
TCC: (Sys) The system cannot find the path specified.
 "c:\no_exist\no_exist.txt"

v:\> cd exist.txt
TCC: (Sys) The directory name is invalid.
 "exist.txt"

If you imagine what might be going on inside windows, you could rationalize the
messages above.

First Windows tries to verify that the named thing exists (not knowing if you
have tried to name a file or a directory; the same generic routine being used
for both). If it can't get to the place where you said the thing was, you get
error 3. If the place exists but the thing doesn't you get error 2. If it
finds the thing and it's not a directory you get error 267.
 
Vince, I apologize for being a little slow here, but help me out:

So, if I, from the root of "C", type "cd temp", with temp being a valid folder name, is that a valid error, telling me that something in my syntax etc. is wrong, or is the message incorrect?

'Cause I have been using a "Temp" on my root drive forever, and never seen this message before..

Chuck

On Fri, 17 Jun 2011 08:53:22 -0400, oph <> wrote:

|It is not strange message for me, it is incorrect. When one tries to "cd" to an existent file (not directory), the error message is correct.
|
|cd file
|
|TCC: (Sys) El nombre del directorio no es válido.
| "file"
|
|(The name of the directory is not valid.
|"file")
|
|It is a Windows message, of course.

Investigate the Windows error messages like this.

Code:
v:\> do i in /L 2 3 267 (echo %i^t%@errtext[%i])
2       The system cannot find the file specified.
3       The system cannot find the path specified.
267     The directory name is invalid.

How Windows uses them is a bit mysterious.

Code:
v:\> cd no_exist.txt
TCC: (Sys) The system cannot find the file specified.
 "no_exist.txt"
 
v:\> cd c:\no_exist\no_exist.txt
TCC: (Sys) The system cannot find the path specified.
 "c:\no_exist\no_exist.txt"
 
v:\> cd exist.txt
TCC: (Sys) The directory name is invalid.
 "exist.txt"

If you imagine what might be going on inside windows, you could rationalize the
messages above.

First Windows tries to verify that the named thing exists (not knowing if you
have tried to name a file or a directory; the same generic routine being used
for both). If it can't get to the place where you said the thing was, you get
error 3. If the place exists but the thing doesn't you get error 2. If it
finds the thing and it's not a directory you get error 267.
 
On Sat, 18 Jun 2011 12:34:21 -0400, CWBillow <> wrote:

|Vince, I apologize for being a little slow here, but help me out:
|
|So, if I, from the root of "C", type "cd temp", with temp being a valid folder name, is that a valid error, telling me that something in my syntax etc. is wrong, or is the message incorrect?
|
| 'Cause I have been using a "Temp" on my root drive forever, and never seen this message before..

I was only commenting on how the Windows error messages work.

I find it hard to believe that your current working directory is C:\, that there
exists a directory C:\Temp to which you have access, and that "cd temp" fails.
That would be a major screw-up on the part of Windows.

Try these (exactly) and paste the results in a reply.

Code:
echo %_cwd
*dir /k /m /a:d t*
*cd temp
echo %_cwd
 
Chuck if you post a SET >AllForSupport.TXT does temp have variable name
defined
try cd %temp


> -----Original Message-----
> From: CWBillow
> Subject: RE: [Support-t-2941] Re: The STRANGEST error!
>
>
> Vince, I apologize for being a little slow here, but help me out:
>
> So, if I, from the root of "C", type "cd temp", with temp
> being a valid folder name, is that a valid error, telling me
> that something in my syntax etc. is wrong, or is the message
> incorrect?
>
> 'Cause I have been using a "Temp" on my root drive forever,
> and never seen this message before..
>
> Chuck
>
>
> ---Quote (Originally by vefatica)---
> On Fri, 17 Jun 2011 08:53:22 -0400, oph <> wrote:
>
> |It is not strange message for me, it is incorrect. When one
> tries to "cd" to an existent file (not directory), the error
> message is correct.
 
Vince, as you expected, the attached is what I received.

But this is/was after restoring from a backup last evening.

So I suspect it was some quirk or corrupted path or ...

Thanks,
Chuck

On Sat, 18 Jun 2011 12:34:21 -0400, CWBillow <> wrote:

|Vince, I apologize for being a little slow here, but help me out:
|
|So, if I, from the root of "C", type "cd temp", with temp being a valid folder name, is that a valid error, telling me that something in my syntax etc. is wrong, or is the message incorrect?
|
| 'Cause I have been using a "Temp" on my root drive forever, and never seen this message before..

I was only commenting on how the Windows error messages work.

I find it hard to believe that your current working directory is C:\, that there
exists a directory C:\Temp to which you have access, and that "cd temp" fails.
That would be a major screw-up on the part of Windows.

Try these (exactly) and paste the results in a reply.

Code:
echo %_cwd
*dir /k /m /a:d t*
*cd temp
echo %_cwd
 

Attachments

  • Vince.bat
    54 bytes · Views: 219
Vince, as you expected, the attached is what I received.

But this is/was after restoring from a backup last evening.

So I suspect it was some quirk or corrupted path or ...

Thanks,
Chuck

You didn't attach the output, only the batch file. If it's now OK, don't bother.

PATH has nothing to do with it. My only guess is that you weren't really **in** C\.
 

Similar threads

Back
Top