Modify WinXP CMD Prompt to Match ABC's Lost Computer Prompt

I’ve been watching ABC’s TV show Lost religiously lately and while using cmd.exe this week at work, a silly idea came to me. I was reminded of the old DOS days and playing with the look and feel of the command prompt and I realized how trivial it would be to change it to match the prompt from the Lost TV Series….

It’s as simple as this:
1. Open the Control Panel
2. Choose “System”
3. Click on the “Advanced” Tab.
4. Click the “Environment Variables” button at the bottom.
5. Choose the “New” button on either the User or System sections to modify the command prompt for just the current logged in your or the entire system.
6. In “Variable name:” put PROMPT
7. In “Variable value:” put ‘$g: ‘ (leave out the quotes, but leave a trailing space).

The $g maps to the ‘>’ character. See: Microsoft Windows XP - Prompt for customizing the prompt for cmd.exe

8. Click “OK”
Now Start -> Run and type: cmd and you should see your change. I also adjusted the colors to green and command prompt size to large to further make it similar. Hitting ATL-ENTER blows up the cmd window full screen giving it the most likeness...

Creating this effect for your account on a un*x system would be trivial as well by using 'set prompt = ">: " command. I don't have one handy or I'd try it out.

4 comments:

  1. Hey, great little hack! I tried it today and works great. I even featured it on my blog, The Daily Hack, at:

    http://thedailyhack.blogspot.com/2006/03/lost-style-prompt-hack.html

    ReplyDelete
  2. You're absolutely right, if you've got a Unix bash shell, the command is:
    PS1='>: '

    (including the quotes)

    Owl. :)

    ReplyDelete
  3. If you have the new MSH (Monad) you need to redefine the prompt function:

    function prompt {
    ">: "
    }

    ReplyDelete
  4. Can we get a screenshot? I don't remember the colors :(

    ReplyDelete