Showing posts with label DOS. Show all posts
Showing posts with label DOS. Show all posts

2 Apr 2012

Chat with Friends through Command Prompt

1) All you need is your friend's IP Address and your Command Prompt.
2) Open Notepad and write this code as it is.....!
@echo off
:A
Cls
echo MESSENGER
set /p n=User:
set /p m=Message:
net send %n% %m%
Pause
Goto A
 

19 Mar 2012

CMD TRICK

A small trick in cmd


Open a command prompt (Start, Run, cmd, OK) and enter the following command:

titlepc-ttricks.blogspot.com

then check out the title bar of the command window.

14 Mar 2012

Install Xp From Dos

if  XP will not install from the CD or if you have a new drive with no operating system on it yet try these:

Install Windows XP from the hard drive with Windows 98 already installed:

Boot Windows 98

Insert the XP CD into your CD reader

Explore Windows XP through My Computer

Copy i386 folder to C:

Go into C:i386 folder and double click on winnt32.exe to launch the setup from the hard drive

Install Windows XP from DOS (ie. no OS on a new hard drive):

Boot with a Windows 98 Start Up disk

Insert the Windows 98 CD into the CD reader

Run smartdrv.exe from the Win98 directory on the windows 98 CD (file caching)

Type cd.. to back up to the root directory

Insert Windows XP CD into the CD reader

Copy the i386 folder to C:

Go into C:i386 folder on C: and type winnt.exe to launch the setup from the hard drive.

Star wars movie inside XP

Greatest Trick Ever
Hey folks, do u know that windows XP is having a hidden "Star Wars Movie" inside it???

You should be connected to the NET for using this.
Go to Starts-->Programs-->Run
Type
telnet towel.blinkenlights.nl
And hit enter......... Enjoy the magic!!!!

12 Mar 2012

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.
  1. Close all Command Prompts
  2. Start the Registry Editor
  3. Open HKEY_CURRENT_USER\Software\Microsoft\Command Processor
  4. If not present, add Key: CompletionChar
  5. If you like to use TAB-Key for expand: set value (REG_SZ): "9"
You can test it:
  1. Open up a DOS window
  2. Type: CD (followed by TAB)
  3. The first available directory will appear
  4. Press TAB again, the next one will appear
  5. The same can be done with the DIR command

Starting DOS Fast

Want to start DOS fast outside of the START button? Drag it to your desktop.
Want to start it even FASTER without the mouse?
  1. Change the shortcut properties of the DOS icon to something unique, like Ctrl-Alt-Z.
  2. Then to start DOS from within Win95/98?/NT just enter C-A-Z and poof! it's there.
  3. If you toggle away, and hit the shortcut sequence again, you'll get the "old" DOS box, not a new one

Removing the Microsoft Copyright from a DOS Prompt

By default, when you open a DOS window, the Microsoft Copyright notice shows.
To disable it, add the /K switch in the Program tab
For example: C:\WINDOWS\COMMAND.COM /k

Showing Long and Short Filenames

There are two additional switches that can be used when doing a DIR
  1. /B - Shows only the long filename, no details
  2. /Z - Shows the short filename, with details
  3. /B /Z - Shows only short filename, with no details

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

10 Mar 2012

Faster DOS Printing

If you are experiencing slow printing for DOS programs with Windows2000
  1. Go Start | Run | Regedit
  2. Click Hkey_Local_Machine
  3. Click on System
  4. Click CurrentControlSet
  5. Click Control
  6. Go to the bottom of this part of the list and click WOW
  7. Click LPT timeout and change it to a 3

DOS Tips in XP

Windows XP cmd tip (DOS isn’t dead... it just smells funny) Some command-line folder creation examples:
To create multiple folders at once, add them directly to the "md" command:
C:\> md this is a test
To create a folder several folders deep, use:
C:\> md this\is\a\test
Creating a folder with a long name requires the double-quote at the beginning:
C:\> md "this is a test
Bonus tip: Windows XP supports the forward slash "/" as a folder divider. Unix/Linux users: don't let the DOS environment get you down. Use a Unix-style CD command to change your present working directory:
C:\> cd Windows/system32/drivers/etc

7 Mar 2012

Remove Viruses easily from Pendrive


 Easily remove viruses from your Pen drives

Click Start-> run ->cmd->select your desired drive for eg:- f:->type dir/w/a this will show all the files in that drive.
Then type attrib -r -a -s -h *.*
this will remove any kind of restrictions on the file you wanna delete
Then type the file name to delete

the common types of viruses are
regsvr.exe
new folder.exe
ravmon.exe
autorun.inf

How To See Hidden Files, Using Dos

at command prompt just type
dir /ah
if the list is too long u can use
dir /ah/p/w