The STRANGEST error!

Jul 12, 2008
286
0
Las Vegas, NV
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
 
May 20, 2008
603
0
Sammamish, WA
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.
 
Jul 12, 2008
286
0
Las Vegas, NV
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.
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
4,461
88
Albuquerque, NM
prospero.unm.edu
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 ?
 
Jan 19, 2011
604
14
Norman, OK
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.
 
Jul 12, 2008
286
0
Las Vegas, NV
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.
 

oph

Jun 28, 2008
44
1
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")
 

rconn

Administrator
Staff member
May 14, 2008
12,344
149
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).
 
Jul 12, 2008
286
0
Las Vegas, NV
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).
 

oph

Jun 28, 2008
44
1
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.
 
May 20, 2008
11,400
99
Syracuse, NY, USA
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.
 
Jul 12, 2008
286
0
Las Vegas, NV
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.
 
May 20, 2008
11,400
99
Syracuse, NY, USA
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
 
Aug 9, 2009
229
1
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.
 
Jul 12, 2008
286
0
Las Vegas, NV
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: 101
May 20, 2008
11,400
99
Syracuse, NY, USA
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
Thread starter Title Forum Replies Date
C STDOUT seeming broken in TCC.EXE! Strangest behaviour ever! Support 6
C Copy (sys) error Support 3
T Error: This page can’t be displayed Make sure the web address //ieframe.dll/dnserrordiagoff.htm# is correct. Support 8
kb6ojs How to? "Specified Account Already Exists" error installing TCMD v27 Support 12
samintz How to? Abort on error DO loop Support 10
mfarah Fixed The DATE command produces the wrong error message. Support 1
vefatica ON ERROR terminates DO loop. Support 0
C Google intregration error Support 4
C FB intregration error Support 0
gworley rd (Remove Directory) gives interesting error: Support 2
D How to? Skip removing directory (RMDIR) without error message Support 2
Dmitry L. Kobyakov Documentation Error in the Help: the WINDOW command Support 0
M Strange error messages from TCC in FTP copy Support 7
vefatica Error message from TOUCH Support 2
R FIND command error Support 9
fpefpe Python dll error Support 3
D error in help documentation? Support 0
R FOR usage error from TCC but not from CMD Support 16
K_Meinhard Help file error Support 1
X small translation error. Support 0
W pdir returns diff results between tcc and tcmd - one is an error msg Support 5
Dmitry L. Kobyakov From old version: had the setup's error been corrected? Support 6
vefatica Why no error message? Support 2
vefatica ON ERROR and pipes? Support 8
MickeyF Why does this batch file give me 'unknown command "else"' error? Support 17
Joe Caverly TASKDIALOG Help link error Support 1
J Error "Contents lost before copy" Support 3
vefatica What's causing this error? Support 4
vefatica Error 203? Support 4
C Activation Error. Support 2
J Error running Python at command line Support 9
Joe Caverly PSHELL Error? Support 16
M Fixed PSHELL command returns error Support 2
vefatica REGDIR, strange error message Support 7
O Error in plugin /u Support 2
O TPIPE: Error -Can´t access textpipeengine.dll Support 24
fpefpe How to? script error Support 1
fpefpe How to? script error Support 0
D Error 0xc0000142 and FAR Manager Support 10
F Powershell call fails with "Scripting Integrator 2016 (PowerShell)" license error Support 9
cgunhouse FTP Error Support 5
C How to? Error updating from 20.00.16 to 20.00.21 Support 10
vefatica Missing post and security error Support 4
samintz Documentation TCANSI error Support 8
vefatica WAD ON ERROR GOTO ... Support 11
dcantor Documentation Documentation error in UNSET Support 0
vefatica Error updating Support 2
C tpipe /simple=28 error Support 5
B Fixed Error messages from TCMD.INI Support 2
Alpengreis [Bug?] View (V) Prefs Error (TC 18.00.27 x64) Support 4

Similar threads