Showing posts with label Dos. Show all posts
Showing posts with label Dos. Show all posts

Tuesday, February 16, 2010

ALL Command "DIR" in DOS PROMPT

DIR command is a DOS command that serves to display the files in a drive or folder is active.

This command is similar to the Copy command in the previous posts both on the run from the prompt drive.
This command is most often used for those who are accustomed to dealing with Command Prompt, do not continue to read, but for those who are unfamiliar please read carefully and try to practice the commands I give here.

Before executing the command DIR there are some things that must be understood as an active drive, the current folder.
Active Drive is the drive currently being accessed, as well as the folder is a folder that is used or diakes today.
How to do I know if the folder is active or being accessed at this time? Here's how to explain my logic, Suppose you from windows click Start - Run then type cmd and press enter when the cursor is (the sign minus karakater shaped guide flashing) is at C:\Document and Settings\user> then the current drive is now drive C and the current folder is the folder \Documents and Settings\ and sub folders on the \user>. and \user> usually can be changed to another name as a user in your computer.

So if you give DIR command (the command with a lowercase letter may be all), then all files and directories that display the files and folders in the sub folder \User>.

Various forms of DIR command, try the command (yellow) as the experimental materials and the early exercise to try in windows directory and then run the command below, do type the command: cd \windows and press Enter.

DIR and press command to display all files and all extensions

DIR *.* Enter, the command to display all files and all extensions

DIR? O *.* Enter, the command to display the file name from the left second letter is the letter O and the subsequent extensions free encyclopedia

DIR?? M *.* enter, the command to display the files from the left third letter is the letter m and the free extension

DIR *. c * Enter, the command to display the files and free the file name extension first letter is the letter C

DIR? O *. c * Enter, the command to display the file name both the letter of the file name is the letter O and the first letter of the extension is the letter c

DIR ?????.* Enter command to display the file names that only have 5 (five marks) or smaller letters, and free extensions

DIR *.?? Enter, the command to display files with the file name extensions freely while only 2 (two) letters only.

Maybe that's part of DIR command I can give, for later you can try with variations wildcards (special caracter * and?) On the DIR command to suit your needs.

Good luck with your practice with DOS commands
Read More

Monday, February 15, 2010

How to looking for bad sectors in your hard drive

Your computer slow? or even frequently hangs? if it happens, there are many causes that can cause your computer to be slow in part because infected by the virus, the data stored on the hard disk capacity is too large for example in the form of films, photographs, while also could be because your hard disk sector is bad already, so the data access process occurs when the computer is in turn susceptible to interference on the bad sectors so that the process of reading or writing data on hard disk media to be slow due to bad sectors affected by this.
There are several ways to find out whether we have hard disks with bad sectornya or not, can use the DOS command CHKDSK as in our practice today or could also use a software utility like Partision Magic, or any other.
As I gave at the top that this time we try to do simple checks on your hard disk to see our state of the hard disk is really healthy or being sick (sick with bad sectors...)


Perform the following ways to check on your hard disk.
From Windows, click Start menu - All Programs - Accessories - Command Prompt or it could be a way Click the Start Menu - Run, then type CMD and enter. The second command above to lead us to the window or command prompt window.

Command Prompt by typing the command CHKDSK C: (orders must use small or large letters the same) and then enter, this command to find out or check the hard disk in drive C. Note the picture below.



Press Enter and show like this picture :



From the image above to inform the form:

  1. Total Disk Space, stated the maximum amount of capacity hard disk
  2. N Hiden Files (n declare certain value), said scale capacity used by the files hidden (the hidden files are usually files the operating system)
  3. N Folders, said the number of folders that are in a drive
  4. N Files, declare n / number of files inside a single drive
  5. Bad Sector, said the number of bytes affected by bad sectors in a drive (if 0 (zero) bytes means your hard drive is healthy and the bar is greater than 0 (zero), then your hard disk already exists Bad Sector him so watch out for the the bad sector data is the possibility of damage can occur at any time)
  6. Available, stated hard disk capacity in a single drive that can still be used to store data.

Lets try guys :)
Read More

Thursday, February 4, 2010

Dos command to format the hard drive and other drives in Your Computer!!

The following is an example command to format the hard disk, flash disk, floppy disk on the computer, reading good friends.

FORMAT volume [/FS:file-system] [/V:label] [/Q] [/A:size] [/C] [/X]
FORMAT volume [/V:label] [/Q] [/F:size]
FORMAT volume [/V:label] [/Q] [/T:tracks /N:sectors]
FORMAT volume [/V:label] [/Q] [/1] [/4]
FORMAT volume [/Q] [/1] [/4] [/8]
  • volume : Specifies the drive letter (followed by a colon), mount point, or volume name.
  • /FS : filesystem Specifies the type of the file system (FAT, FAT32, or NTFS).
  • /V : label Specifies the volume label.
  • /Q : Performs a quick format.
  • /C : Files created on the new volume will be compressed by default.
  • /X : Forces the volume to dismount first if necessary. All opened handles to the volume would no longer be valid.
  • /A : size Overrides the default allocation unit size. Default settings are strongly recommended for general use. NTFS supports 512, 1024, 2048, 4096, 8192, 16K, 32K, 64K. FAT supports 512, 1024, 2048, 4096, 8192, 16K, 32K, 64K, (128K, 256K for sector size > 512 bytes). FAT32 supports 512, 1024, 2048, 4096, 8192, 16K, 32K, 64K, (128K, 256K for sector size > 512 bytes). Note that the FAT and FAT32 files systems impose the following restrictions on the number of clusters on a volume : FAT: Number of clusters <= 65526, FAT32 : 65526 <>
  • /F:size : Specifies the size of the floppy disk to format (160, 180, 320, 360, 640, 720, 1.2, 1.23, 1.44, 2.88, or 20.8).
  • /T : tracks Specifies the number of tracks per disk side.
  • /N : sectors Specifies the number of sectors per track
  • /1 : Formats a single side of a floppy disk.
  • /4 : Formats a 5.25-inch 360K floppy disk in a high-density drive.
  • /8 : Formats eight sectors per track.
Read More
Designed By Seo Blogger Templates