1.

Solve : several DOS questions?

Answer»

Why do I get the feeling this is going to be a long one?
one can use the longhand chdir to change directories as well. try using chdir in place of cd. if that works, then their is something stopping the shorthand version from working. If not Dias is probably right regarding a corrupted cmd.exe.I don't think cd is an alias of something else, as it works fine on directories of I: and C: disks until this I:\program_files case. chdir works same as cd
Code: [Select]I:\>chdir program_files
Invalid directory

Alithough mentioned already, I think still worth saying cd can work for a directory like I:\t_e but not for a directory like I:\eeeeeee_fffff.

I am not sure it is related that my I: disk is attached to a linux server via Network File System. So it is impossible to do chkdsk to my knowledge. Quote from: lehe on APRIL 18, 2009, 12:06:33 PM

I don't think cd is an alias of something else, as it works fine until this I:\program_files case. chdir works same as cd
Code: [Select]I:\>chdir program_files
Invalid directory

Alithough mentioned already, I think still worth saying cd can work for a directory like I:\t_e but not for a directory like I:\eeeeeee_fffff.

I am not sure it is related that my disk is attached to a linux server via Network File System. So it is impossible to do chkdsk to my knowledge.

weird, because on my computer I can cd to any directory regardless of the name. I think the fact that it is attached to a Linux server via NFS is extremely relevant. But I'm not to experienced with Linux Filesystems.Quote from: lehe on April 18, 2009, 12:06:33 PM
I am not sure it is related that my disk is attached to a linux server via Network File System.

Now he tells us

yeah I am not sure if NFS is the issue. The same thing also happen on my LOCAL disk C. I.e., if I create C:\program_files, cd cannot change to it. Also cd can work for a directory like C:\t_e but not for a directory like C:\eeeeeee_fffff.
Quote from: lehe on April 18, 2009, 12:28:49 PM
I am not sure if NFS is the issue. The same thing also happen on my local disk C. I.e., if I create C:\program_files, cd cannot change to it. Also cd can work for a directory like C:\t_e but not for a directory like C:\eeeeeee_fffff.


Are you using command or cmd?
I am using command.
Yeah, changing to cmd solve the problem!
So cmd is not DOS but command is?Quote from: lehe on April 18, 2009, 12:50:48 PM
I am using command.
Yeah, changing to cmd solve the problem!
So cmd is not DOS but command is?

At last.

Squall noticed this first. CMD.EXE is a 32 bit program. It's what you get when you select Command Prompt on the Windows Accessories MENU. COMMAND.COM, on the other hand, exists only for compatibility and 16bit programs. It exists solely for those programs which have not been UPDATED since the days of MS-DOS. It's designed to run 16bit applications, and operates just like the old MS-DOS did.In short- use cmd.couldnt he go to start - accesories - cmd and work it just the same?


Discussion

No Comment Found