You can find Doskey feature in the MS-DOS prompt. This feature can create a macro that makes it possible to redefine the other MS-DOS commands. For example, if you want to redefine the Mem command so it can stop the screen after one page, add these following commands into the Autoexec.bat file:
c:\Windows\Command\Doskey
Doskey mem=mem.exe $* /p
The $* characters means include any parameter after the Mem command.
If you often open a folder named Database, it is unnecessary always to type "cd database" in the command prompt. As a replacement, add these following commands into the Autoexec.bat file:
c:\Windows\Command\Doskey
doskey d=cd database
From now on, to enter the database folders, all you must do is type "d" (without quotation mark) in the command prompt, and then press Enter.
Sunday, October 4, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment