-
Looking for CTTY
Hello,
I'm trying to find a copy of the CTTY command for use in a batch file to be run in Windows XP. The CTTY command works in Windows 98 and in DOS 6.22, but I cannot find the file for use elsewhere. Is this command internal, and not in the form of an actual file? If so, does anyone know of a file equivalent?
Thanks,
Kosta
-
Yes, CTTY is one of the internal commands, (within COMMAND.COM). I don't believe I've ever heard of an external equivalent.
What happens if you do Start|Run, type command and press [Enter] to get to a DOS prompt, then type ctty /? and press [Enter]?
-
Hey,
I guess it's not internal for Windows XP, though. This is what I get at the command prompt:
Code:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\>ctty
'ctty' is not recognized as an internal or external command,
operable program or batch file.
Thanks!
-
-
I imagine, if one has a licensed copy of Win9x or DOS, that they could copy the command.com from there to a folder on their HD, and then could run THAT command.com after starting the "default" command.com.
I tried it with the DR-DOS version of command.com and XCOPY (an external) still works, and CTTY does, too. (Used CTTY NUL and locked myself out of the little DOS box.)
-
Good idea AlaricD. :) I'll try to remember to give it a try with a few different versions of COMMAND.COM on my XP machine at work tommorow and let ya'll know what happens.