Little help with CMD

This is a discussion on Little help with CMD within the C Programming forums, part of the General Programming Boards category; Hey i would like to know if possible, how i can rename the CMD title. (Command Prompt) isnt what i ...

  1. #1
    -
    Join Date
    Feb 2003
    Posts
    47

    Angry Little help with CMD

    Hey i would like to know if possible, how i can rename the CMD title. (Command Prompt) isnt what i want there. Once in CMD its quite easy, does any one know of a way todo it in C?

  2. #2
    Code Warrior
    Join Date
    Nov 2001
    Posts
    669
    Well, you have to use the WINAPI function.

    At first you must add header "# include <windows.h>" and then you can use a function "SetConsoleTitle ("My title");".

    That's all .
    Last edited by GaPe; 02-23-2003 at 03:01 AM.
    Current projects:
    1) User Interface Development Kit (C++)
    2) HTML SDK (C++)
    3) Classes (C++)
    4) INI Editor (Delphi)

  3. #3
    -
    Join Date
    Feb 2003
    Posts
    47
    Thankz GaPe !!!!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 23
    Last Post: 04-20-2009, 07:35 AM
  2. OOP Question DB Access Wrapper Classes
    By digioz in forum C# Programming
    Replies: 2
    Last Post: 09-07-2008, 04:30 PM
  3. Error running program in cmd - cygwin.dll missing -
    By JFonseka in forum C Programming
    Replies: 5
    Last Post: 08-27-2007, 12:12 PM
  4. WinXP CMD commands
    By Magos in forum Tech Board
    Replies: 2
    Last Post: 05-27-2006, 07:55 AM
  5. Converting cmd arg to int
    By InstaDeath in forum C++ Programming
    Replies: 5
    Last Post: 03-17-2004, 08:45 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21