Chat with your friends through MS-DOS

1. All you need is your friends IP address and your Command Prompt.
2. Open your notepad and write tis code as it is. For that just copy and paste this code…

@echo off
:A
Cls
echo MESSENGER
set /p n=User:
set /p m=Message:
net send %n% %m%
Pause
Goto A
3. Now save this as “Messenger.Bat”.
4. Drag this file (.bat file)over to Command Prompt and press enter!
5. You would then see some thing like this:
MESSENGER
User:
6. After “User” type the IP address of the computer you want to contact.
7. Before you press “Enter” it should look like this: Before you press “Enter” it should look like this:
MESSENGER
User: IP_Address User: IP_Address
Message: Hi, How are you ? Message: Hi, How are you?
8. Now all you need to do is press “Enter”, and start chatting Now all you need to do is press Enter, and start chatting

Changing the DOS Background Colour

The value DefaultColor controls the foreground and background colors used in command prompt windows. It has a default value of 0, for standard white text on a black background.

CHANGING DOS BACKGROUND

Open your registry (press win+r and type regedit , hit enter )

goto

[HKEY_CURRENT_USER\Software\Microsoft\Command Processor]

You ‘ll find “DefaultColor”

You can replace it’s value with a two-digit hexadecimal number, in which the first digit selects a background color and the second a foreground color. The hexadecimal codes are:

Hexadecimal value Color

0 Black

1 Blue

2 Green

3 Aqua

4 Red

5 Purple

6 Yellow

7 White

8 Gray

9 Light Blue

A Light Green

B Light Aqua

C Light Red

D Light Purple

E Light Yellow

F Bright White


A value of F0, for example, would give black text on a white background, and 1E would yield yellow text on a blue background.

The change should take effect the next time you open a console window.

Expanding Full Path or File Name

Expand full path/file name with defined char using Command Prompt in Win NT 4.0
You can expand the full name of a file or directory using a character of your choice.
Close all Command Prompts
Start the Registry Editor
Open HKEY_CURRENT_USER\Software\Microsoft\Command Processor
If not present, add Key: CompletionChar
If you like to use TAB-Key for expand: set value (REG_SZ): “9″
You can test it:
Open up a DOS window
Type: CD (followed by TAB)
The first available directory will appear
Press TAB again, the next one will appear
The same can be done with the DIR command

DOS Command History

If you use DOSKEY in either your AUTOEXEC.BAT file or as part of the properties of your DOS Window,
you can show and recall the history of commands you enter and the DOS prompt.

To recall previous commands, use the up arrow key.
A complete list of previous commands can be shown if you press the F7 key
To use one, press F9 and the number of the command you want to use
To clear the cache, press Alt+F7

NETSEND COMMAND

Net Send command is used to send messages to other users, computers, or messaging names on the network. The Messenger service must be running to receive messages; it is automatically enabled when you install windows. You can send a message only to a name that is active on the network.
Messenger Services can be used to send advertisements and spam to vulnerable machines on a network. A box will pop up on your screen with the text “Messenger Services” at the top, but the text will be an ad for a product or service interrupting whatever you’re doing on the computer at the time.
To make sure this doesn’t happen to you, just take the following steps:
Windows 2000
1. Click Start -> Programs -> Administrative Tools -> Services
2. Scroll down and highlight “Messenger”
3. Right-click the highlighted line and choose Properties.
4. Click the STOP button.
5. Select Disable or Manual in the Startup Type scroll bar
6. Click OK
Windows XP
1. Click Start -> Control Panel
2. Click Performance and Maintenance
3. Click Administrative Tools
4. Double click Services
5. Scroll down and highlight “Messenger”
6. Right-click the highlighted line and choose Properties.
7. Click the STOP button.
8. Select Disable or Manual in the Startup Type scroll bar
9. Click OK
Net Send Command
Net Send {name | * | /DOMAIN | /USERS} Message
Name Is the username, computer name, or messaging name to send the message to. If the name is a computer name that contains blank characters, enclose the alias in quotation marks (” “).
* Sends the message to all the names in your group.
/DOMAIN Sends the message to all the names in the workstation domain. If name is specified, the message is sent to all the names in the specified domain or workgroup.
/USERS Sends the message to all users connected to the server.
Message Is text to be sent as a message.