Looking for CTTY
Results 1 to 6 of 6

Thread: Looking for CTTY

  1. #1
    Join Date
    Nov 2000
    Posts
    208

    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

  2. #2
    Join Date
    Feb 2000
    Location
    26.03°N 80.14°W
    Posts
    9,410

    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]?
    Vernon Frazee, Microsoft MVP (Windows - Shell/User)

    Defenses Up!
    Tip: When prompted for a password, give an incorrect one first. A phishing site will accept it; a legitimate one won't.


    Inside Spyware: A Guide to Finding, Removing and Preventing Online Pests


    If you don't keep up with security fixes, your computer|network won't be yours for long.

  3. #3
    Join Date
    Nov 2000
    Posts
    208
    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!

  4. #4
    Join Date
    Feb 2000
    Location
    26.03°N 80.14°W
    Posts
    9,410
    Vernon Frazee, Microsoft MVP (Windows - Shell/User)

    Defenses Up!
    Tip: When prompted for a password, give an incorrect one first. A phishing site will accept it; a legitimate one won't.


    Inside Spyware: A Guide to Finding, Removing and Preventing Online Pests


    If you don't keep up with security fixes, your computer|network won't be yours for long.

  5. #5
    Join Date
    Nov 2001
    Location
    Fishbel
    Posts
    2,412
    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.)
    Welcome to the Eclipse(C). The Evolution of an Idea
    Options: DCM3 LCR VMS CVM Sil CPI VMI ANI 648 CA1 SACD500 Att CID RLS TIME DLG

    Version: ECLIPSE 2.0.0 09/09/98 System is BUSY Thu 07-21-05 1:31 pm
    Access Level = 10 Port = 10

  6. #6
    Join Date
    Feb 2000
    Location
    26.03°N 80.14°W
    Posts
    9,410
    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.
    Vernon Frazee, Microsoft MVP (Windows - Shell/User)

    Defenses Up!
    Tip: When prompted for a password, give an incorrect one first. A phishing site will accept it; a legitimate one won't.


    Inside Spyware: A Guide to Finding, Removing and Preventing Online Pests


    If you don't keep up with security fixes, your computer|network won't be yours for long.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •