here 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
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
Changing a File's Date and Time Stamp
You can change the Date and Time stamp of a file to the current setting.
Type:
COPY filename /B + ,, /Y
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
Setting the Number of Lines in a DOS Window
To set the number of lines displayed when you open up a DOS window:
1. Create a shortcut for the MS-DOS Prompt
2. Right click on it
3. Select Properties
4. Click on the Program tab
5. In the Batch file:, line enter mode con: lines=xx (where xx is the number of lines you want displayed)
6. Valid numbers for xx are 25 or 43
Submitted by John Karwoski
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.
Long Filenames in a DOS Box
More long filenames in DOS paths...
You don't need the close double quote when entering long folder names in DOS.
CD "\program files
works as well as
CD "\program files"
You can use long file names in a MS DOS Box.
All you have to do is pu the long file name in quotes.
Example: cd "program files"
Expanding Full Path or File Name
NT 4.0 Only
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
Adding DOSKEY to your DOS Window
One way to have DOSKEY available when you open a DOS window would be to have it in the AUTOEXEC.BAT file.
This takes away conventional memory, even when you don't have a DOS window open.
To only use DOSKEY when you open a DOS window:
* Right click on your DOS shortcut
* Select Properties
* Click on the Program tab
* Add DOSKEY > NUL to the Batch File field
* You can also add /INSERT if you prefer
Showing DOS Error Codes
If you want to see what error codes are being generated by DOS programs,
start your DOS session with the addition of a /Z parameter to the COMMAND.COM program.
Changing Directories in DOS
Normally, you can move up one directory level by typing CD ..
The DOS with Windows95 allows you to continue moving up beyond the first directory by simply adding more periods
For example, to move up two levels, type CD ...
Entering Long Paths in a DOS Window
If you have to enter a long path and program name in a DOS window,
1. Open up the Explorer
2. Go to the folder you want
3. Drag it to the DOS window
4. The path will be inserted into the window
This can come is useful with the long path names and all the ~'s you would normally need to type.
If you need to change directories, type in the CD before you drag the directory.
Having DOS Programs Prompt for Input
When you normally create a shortcut for a DOS program, it does not prompt you for any input and just runs the program
To change that, simply add a ? after the program name in the CMD field.
For example:
C:\WINDOWS\COMMAND\EDIT.COM ?
will start the DOS editor and prompt you for a file name to edit.
Verbose Directory Listing
To see your free memory and other useful info in detail:
1. Open a DOS box
2. Go to the directory that you want to get specific info about, or if you just want to see memory info go to any directory (I use the root).
3. Type DIR /V
4. The /v argument stands for "verbose".
5. All sorts of good information comes up.
Easy way to open up DOS prompt in a specific directory
With the advent of long directory names, it can be difficult to open up a DOS box and CD to the directory you want
particularly if it is several layers of long names deep.
An easy way is to:
1. Open up Explorer and highlight the directory you want to be in
2. Select Run / Command from the Start Menu
3. Your DOS prompt will now be in the directory you highlighted in Explorer
This entry was posted
on 8:34:00 PM
.
You can leave a response
and follow any responses to this entry through the
Subscribe to:
Post Comments (Atom)
.
Recent Posts
Translate This Page
Join us on orkut
Email Me
Clock
Calendar
Counter
World Map
Bookmarks
Site Meter
Terms & Conditions
This web page, posts in forum and software is provided for educational use only! If you engage in any illegal activity the author does not take any responsibility for it. By using and browsing the contents on this page you agree with terms.
Archives
-
▼
2008
(453)
-
▼
May
(269)
- YouTube For Video Download..
- Microsoft Word trick
- How to Backup Windows XP without S/w
- Worst Windows Feature
- Talk to gtalk friends from yahoo
- Some IP commands.......
- Accelerate access to the programz.
- Top 10 Rapidshare Search Engines
- Make a autorun file for ur CD
- ***MegaUpload ToolBar Hacks***
- serials and cracks 2
- FIX MEMORY LEAK IN FIREFOX
- To add 13 communities in related community
- One more Orkut worm! Orkut hackers are on rampage!
- CONVERT A 512 MB duo/produo/MMC CARD TO 640 MB
- Make ur Windows Genuine using notepad!!!!
- New multi Search Engine
- Google Launches Future Search
- To change from FAT 32 to NTFS file system
- [Book] Greasemonkey Hacks (Hacks)
- Transfer files with remote desktop
- FireFox Making World record
- Access Stored User Names and Passwords with rundll
- More than 1000 friends within a day
- Google Search Tricks
- How to exceed your download limit on Rapidshare
- hidden dos commands
- Find serial numbers for programs easy in Google
- Basic Needs Of Hacking
- Best utorrent Configuration
- Speed Up Starting Of CD/DVD Burning Software
- USE UR NOTEPAD AS DIARY
- Editing The Boot.ini File
- Enable/Disable Your Task Manager
- Hiding User Accounts On Logon Screen In XP
- How to lock Folder? other way
- how to lock folder in your pc
- Nokia Secret Codes2
- Nokia Secret Codes
- tip how to lock folder
- All run shortcuts.....!!!
- Be Invisible!
- New Danger Virus FOunddd
- how to hack my friend pc through yahoo messenger?
- invisible topic??
- name check
- Watch movie in ms dos!!!!!!!
- Some More !!
- DIFFERENT WAYS : A TO Z
- chck hw sexy ur name is...
- Are you a boy or a gal......not a game,chk it out!
- increase your net speed
- to lock a folder in windows!!
- how to remove the ORKUT virus!!!
- remote access!!!
- vat is registry??
- learn hacking!!
- hack windows XP passwrd!!
- all run commands!!
- a sample c code for virus!!
- format your hardisk using notepad!!
- hacking DSL router!!
- DOS hacking
- all DOS commands!!
- shutdown ur friends pc!!
- remote access method!!
- increase ur browsing speed!!
- hack IE!!
- changing title of MEDIA player!!
- hacking PC while chatting!!
- common scrap anyone without any ads!!(orkut)
- remove the shutdown option!!
- how to fix corrupted files of XP!!!
- AUTOMATING the installation of XP!!!
- DOS tricks!!
- SET the SEARCH screen to the classic look!!!
- creating a VIRUS!!
- to convert FAT partition to NTFS!!!
- Hiding Folders in windows - the Hackers way
- Add ur own photo in My Computer properties
- If Run command is disabled
- Monitoring the system
- Disabling Scandisk
- FREE SMS ON MOBILE
- Eliminating the Right Click on the Taskbar
- Eliminating the Right Click on the Desktop
- finding the cracks or serials
- Remove Brontok Virus Urself
- GET AIRTEL LIVE FREE ON UR CELL
- how to clone a hard drive
- make xp origional
- Modify Your CD-ROM to Watch DVD Movies
- REMOVE CMOS USER PASSWORD VIA DOS
- LEARN MAGIC SECRETS !
- SHORTCUT KEYS FOR ORKUT !
- LOGIN WITH MULTIPLE IDS AT SAME TIME IN ORKUT !
- MESSENGER PLUS DOWNLOAD-NEW RELEASE !
- ULTIMATE MIND READER !
- DANGER SPECIAL !
- BEAUTIFUL ROSES FOR BEAUTIFUL PEOPLES !
-
▼
May
(269)
0 comments