Wednesday, May 6, 2009

f disk dos commands

disk is one of the more commonly used MS-DOS commands, even today with Windows 95 and Windows 98. Fdisk allows the user to delete and/or create partitions on the hard disk drive.

MS-DOS 3.3x and below used fdisk.com
MS-DOS 4.x and above uses fdisk.exe

Additional information on how a hard disk drives and how they work, troubleshooting, and more can be found on our hard disk drive page.

Availability

The fdisk command is an external command that is available in the below Microsoft operating systems.

All Versions of MS-DOS
Windows 95
Windows 98
Windows ME

Windows 2000 and Windows XP users should see document CH000588 for information about setting up their disk drives in Windows and/or see the diskpart command information page.


Index

Category:
MS-DOS

Companies:
Microsoft

Related Pages:
Hard Disk Drive
Operating systems


Resolved

Were you able to locate the answer to your questions?
Yes
No


Syntax

Configures a hard disk for use with MS-DOS.

FDISK [/STATUS] /X/STATUS Displays partition information.
/X Ignores extended disk-access support (will not use LBA support). Use this switch if you receive one of the below symptoms.

Unable to access a drive from DOS versions prior to 7.
Disk access messages .
Stack overflow messages.
High amounts of data corruption.
Extra drive letters




Secret fdisk switches

Disclaimer: Below is a listing of secret or undocumented MS-DOS fdisk commands and switches. Use these commands at your own risk.
Command
Information
FDISK /MBR Command used to rewrite the Master Boot Record. See CH000175 for additional information.
FDISK /CMBR Recreates the Master Boot Record on specified disk. Performs the same functions as FDISK /MBR except can be used on other disk drives.
FDISK 1/PRI:100 Creates a 100MB DOS partition on the hard drive.
FDISK 1/EXT:500 Creates a 500MB meg extended DOS partition on the hard drive.
FDISK 1/LOG:250 Creates a 250MB logical drives on the hard drive.
FDISK /Q Prevents fdisk from booting the system automatically after exiting fdisk.
FDISK /STATUS Shows you the current status of your hard drives.
FDISK /ACTOK Makes FDISK not check the disk integrity allowing the drives to be created faster.
FDISK /FPRMT Will not get the prompt for FAT32 support, in addition allows FDISK to be forced into using FAT32 on drives smaller than 540MB (by default FDISK will not use FAT32 on any drive smaller than 540MB). Finally this command can only be used with FDISK that supports FAT32.


Examples

Fdisk - This would get you into the fdisk option screen that you can see in the fdisk simulation. Also keep in mind when deleting a partitions ANYTHING that is on that partition of the hard drive will be ERASED, also once the partition is delete it will not be redetected until you format that partition, so if you delete your primary partition, which is the c: drive, you will not be able to put anything on that drive or even read from that drive until it is formatted.

See our fdisk simulation for additional information and examples.

Additional information

FDISK SCRIPT FILE - Fdisk has the capability of being run from an external file, allowing you to quickly create and delete partitions through Fdisk. To do this, create a file from the DOS edit command. Below are the steps required in generating this file.

Edit fdisk.scr - This will place you within the edit screen. Within this screen you will enter the commands you wish to be run in fdisk. For example, if you wish to run fdisk and display the partition information, you would enter 4.

Because fdisk requires you to press enter after you have chosen a selection, you will need to press Ctrl + P and then press Ctrl + M, which will create a music symbol, which acts as a carriage return.

If you need to press the esc key, you would use Ctrl + P and then press esc, which would be represented as a backwards arrow.

When doing the commands to run FDISK, all these must be on one line; do not place each command on separate lines.

Once you have created the script file, you can then type fdisk < fdisk.scr that will then execute the script file. If the script file encounters an error during its process, you will need to recreate the script file where the mistake occurred.
TECHNICAL SUPPORT

Reference Issue / Question
HARD DRIVE Complete hard disk drive information and support
FAT32 Additional information and help with FAT32.
CHSIZE Unable to see full amount of hard drive.
CH000032 Only able to see 2 Gig partition/drive.
CH000175 Do you have any additional information on FDISK /MBR?
CH000226 Partition shows up as a MS-DOS partition.
CH000229 Invalid / Non System Disk error.
CH000231 Invalid media type reading drive C:
CH000340 No fixed disk present.
CH000344 How to delete a partition using fdisk.
CH000345 How to create a partition using fdisk.
CH000355 How to lock / unlock the hard disk drive.
CH000379 Error reading/writing fixed disk.
CH000431 How many partitions can DOS / Windows recognize.
CH000452 How to create a FAT32 partition.

f disk dos commands

disk is one of the more commonly used MS-DOS commands, even today with Windows 95 and Windows 98. Fdisk allows the user to delete and/or create partitions on the hard disk drive.

MS-DOS 3.3x and below used fdisk.com
MS-DOS 4.x and above uses fdisk.exe

Additional information on how a hard disk drives and how they work, troubleshooting, and more can be found on our hard disk drive page.

Availability

The fdisk command is an external command that is available in the below Microsoft operating systems.

All Versions of MS-DOS
Windows 95
Windows 98
Windows ME

Windows 2000 and Windows XP users should see document CH000588 for information about setting up their disk drives in Windows and/or see the diskpart command information page.


Index

Category:
MS-DOS

Companies:
Microsoft

Related Pages:
Hard Disk Drive
Operating systems


Resolved

Were you able to locate the answer to your questions?
Yes
No


Syntax

Configures a hard disk for use with MS-DOS.

FDISK [/STATUS] /X/STATUS Displays partition information.
/X Ignores extended disk-access support (will not use LBA support). Use this switch if you receive one of the below symptoms.

Unable to access a drive from DOS versions prior to 7.
Disk access messages .
Stack overflow messages.
High amounts of data corruption.
Extra drive letters




Secret fdisk switches

Disclaimer: Below is a listing of secret or undocumented MS-DOS fdisk commands and switches. Use these commands at your own risk.
Command
Information
FDISK /MBR Command used to rewrite the Master Boot Record. See CH000175 for additional information.
FDISK /CMBR Recreates the Master Boot Record on specified disk. Performs the same functions as FDISK /MBR except can be used on other disk drives.
FDISK 1/PRI:100 Creates a 100MB DOS partition on the hard drive.
FDISK 1/EXT:500 Creates a 500MB meg extended DOS partition on the hard drive.
FDISK 1/LOG:250 Creates a 250MB logical drives on the hard drive.
FDISK /Q Prevents fdisk from booting the system automatically after exiting fdisk.
FDISK /STATUS Shows you the current status of your hard drives.
FDISK /ACTOK Makes FDISK not check the disk integrity allowing the drives to be created faster.
FDISK /FPRMT Will not get the prompt for FAT32 support, in addition allows FDISK to be forced into using FAT32 on drives smaller than 540MB (by default FDISK will not use FAT32 on any drive smaller than 540MB). Finally this command can only be used with FDISK that supports FAT32.


Examples

Fdisk - This would get you into the fdisk option screen that you can see in the fdisk simulation. Also keep in mind when deleting a partitions ANYTHING that is on that partition of the hard drive will be ERASED, also once the partition is delete it will not be redetected until you format that partition, so if you delete your primary partition, which is the c: drive, you will not be able to put anything on that drive or even read from that drive until it is formatted.

See our fdisk simulation for additional information and examples.

Additional information

FDISK SCRIPT FILE - Fdisk has the capability of being run from an external file, allowing you to quickly create and delete partitions through Fdisk. To do this, create a file from the DOS edit command. Below are the steps required in generating this file.

Edit fdisk.scr - This will place you within the edit screen. Within this screen you will enter the commands you wish to be run in fdisk. For example, if you wish to run fdisk and display the partition information, you would enter 4.

Because fdisk requires you to press enter after you have chosen a selection, you will need to press Ctrl + P and then press Ctrl + M, which will create a music symbol, which acts as a carriage return.

If you need to press the esc key, you would use Ctrl + P and then press esc, which would be represented as a backwards arrow.

When doing the commands to run FDISK, all these must be on one line; do not place each command on separate lines.

Once you have created the script file, you can then type fdisk < fdisk.scr that will then execute the script file. If the script file encounters an error during its process, you will need to recreate the script file where the mistake occurred.
TECHNICAL SUPPORT

Reference Issue / Question
HARD DRIVE Complete hard disk drive information and support
FAT32 Additional information and help with FAT32.
CHSIZE Unable to see full amount of hard drive.
CH000032 Only able to see 2 Gig partition/drive.
CH000175 Do you have any additional information on FDISK /MBR?
CH000226 Partition shows up as a MS-DOS partition.
CH000229 Invalid / Non System Disk error.
CH000231 Invalid media type reading drive C:
CH000340 No fixed disk present.
CH000344 How to delete a partition using fdisk.
CH000345 How to create a partition using fdisk.
CH000355 How to lock / unlock the hard disk drive.
CH000379 Error reading/writing fixed disk.
CH000431 How many partitions can DOS / Windows recognize.
CH000452 How to create a FAT32 partition.

ms-dos applications

MS-DOS applications
Below is a listing of the applications included with MS-DOS and the type of file extension it was. As MS-DOS continued to grow, applications were removed and added. In this list you can see which programs were included with your versions of MS-DOS. This list only applies for MS-DOS 2.x to 6.22. As Windows grew into what it is today, many of the applications were removed or changed. If you're running Windows 95 or higher and want to know if an application is available, see the command page for that application or command.Command Versions
2.0x 2.1x 3.00 3.1x
3.2x 3.3x 4.0x 5.0
5.00a 6.0 6.2 6.21
6.22
APPEND N/A N/A N/A EXE EXE EXE EXE EXE EXE EXE
ASSIGN COM COM COM COM COM COM COM N/A N/A N/A
ATTRIB N/A N/A EXE EXE EXE EXE EXE EXE EXE EXE
BACKUP COM COM COM COM COM COM EXE N/A N/A N/A
BASIC COM COM COM COM N/A N/A N/A N/A N/A N/A
BASICA COM COM COM COM N/A N/A N/A N/A N/A N/A
CHKDSK COM COM COM COM COM COM EXE EXE EXE EXE
CHOICE N/A N/A N/A N/A N/A N/A N/A COM COM COM
COMMAND COM COM COM COM COM COM COM COM COM COM
COMP COM COM COM COM COM COM EXE N/A N/A N/A
DBLSPACE N/A N/A N/A N/A N/A N/A N/A EXE EXE N/A
DEBUG COM COM COM COM COM COM EXE EXE EXE EXE
DEFRAG N/A N/A N/A N/A N/A N/A N/A EXE EXE EXE
DELTREE N/A N/A N/A N/A N/A N/A N/A EXE EXE EXE
DISKCOMP COM COM COM COM COM COM COM COM COM COM
DISKCOPY COM COM COM COM COM COM COM COM COM COM
DOSKEY N/A N/A N/A N/A N/A N/A COM COM COM COM
DOSSHELL N/A N/A N/A N/A N/A COM COM EXE N/A N/A
DOSSWAP N/A N/A N/A N/A N/A N/A EXE EXE N/A N/A
DRVSPACE N/A N/A N/A N/A N/A N/A N/A N/A N/A EXE
EDIT N/A N/A N/A N/A N/A N/A COM COM COM COM
EDLIN COM COM COM COM COM COM EXE N/A N/A N/A
EMM386 N/A N/A N/A N/A N/A N/A EXE EXE EXE EXE
EXE2BIN N/A EXE EXE EXE EXE EXE EXE N/A N/A N/A
EXPAND N/A N/A N/A N/A N/A N/A N/A EXE EXE EXE
FASTHELP N/A N/A N/A N/A N/A N/A N/A EXE EXE EXE
FASTOPEN N/A N/A N/A N/A EXE EXE EXE EXE EXE EXE
FC N/A N/A N/A N/A EXE EXE EXE EXE EXE EXE
FDISK COM COM COM COM COM EXE EXE EXE EXE EXE
FILESYS N/A N/A N/A N/A N/A EXE N/A N/A N/A N/A
FIND EXE EXE EXE EXE EXE EXE EXE EXE EXE EXE
FORMAT COM COM COM COM COM COM COM COM COM COM
GRAFTABL N/A N/A COM COM COM COM COM N/A N/A N/A
GRAPHICS COM COM COM COM COM COM COM COM COM COM
GWBASIC N/A N/A N/A N/A EXE EXE N/A N/A N/A N/A
HELP N/A N/A N/A N/A N/A N/A EXE COM COM COM
IFSFUNC N/A N/A N/A N/A N/A EXE N/A N/A N/A N/A
INTERLNK N/A N/A N/A N/A N/A N/A N/A EXE EXE EXE
INTERSVR N/A N/A N/A N/A N/A N/A N/A EXE EXE EXE
JOIN N/A N/A N/A EXE EXE EXE EXE N/A N/A N/A
KEYB N/A N/A N/A N/A COM COM COM COM COM COM
KEYBFR N/A N/A COM COM N/A N/A N/A N/A N/A N/A
KEYBGR N/A N/A COM COM N/A N/A N/A N/A N/A N/A
KEYBIT N/A N/A COM COM N/A N/A N/A N/A N/A N/A
KEYBSP N/A N/A COM COM N/A N/A N/A N/A N/A N/A
KEYBUK N/A N/A COM COM N/A N/A N/A N/A N/A N/A
LABEL N/A N/A COM COM COM COM EXE EXE EXE EXE
LINK EXE EXE EXE EXE EXE EXE N/A N/A N/A N/A
LOADFIX N/A N/A N/A N/A N/A N/A COM COM COM COM
MEM N/A N/A N/A N/A N/A EXE EXE EXE EXE EXE
MEMMAKER N/A N/A N/A N/A N/A N/A N/A EXE EXE EXE
MIRROR N/A N/A N/A N/A N/A N/A COM N/A N/A N/A
MODE COM COM COM COM COM COM COM COM COM COM
MORE COM COM COM COM COM COM COM COM COM COM
MOVE N/A N/A N/A N/A N/A N/A N/A EXE EXE EXE
MSBACKUP N/A N/A N/A N/A N/A N/A N/A EXE EXE EXE
MSCDEX N/A N/A N/A N/A N/A N/A N/A EXE EXE EXE
MSD N/A N/A N/A N/A N/A N/A N/A EXE EXE EXE
MWAV N/A N/A N/A N/A N/A N/A N/A EXE EXE EXE
MWAVTSR N/A N/A N/A N/A N/A N/A N/A EXE EXE EXE
MWBACKUP N/A N/A N/A N/A N/A N/A N/A EXE EXE EXE
MWUNDEL N/A N/A N/A N/A N/A N/A N/A EXE EXE EXE
NLSFUNC N/A N/A N/A N/A EXE EXE EXE EXE EXE EXE
POWER N/A N/A N/A N/A N/A N/A N/A EXE EXE EXE
PRINT COM COM COM COM COM COM EXE EXE EXE EXE
QBASIC N/A N/A N/A N/A N/A N/A EXE EXE EXE EXE
RECOVER COM COM COM COM COM COM EXE N/A N/A N/A
REPLACE N/A N/A EXE N/A EXE EXE EXE EXE EXE EXE
RESTORE COM COM COM COM COM COM EXE EXE EXE EXE
SCANDISK N/A N/A N/A N/A N/A N/A N/A N/A EXE EXE
SELECT N/A N/A COM COM COM COM N/A N/A N/A N/A
SETVER N/A N/A N/A N/A N/A N/A EXE EXE EXE EXE
SHARE N/A N/A EXE EXE EXE EXE EXE EXE EXE EXE
SIZER N/A N/A N/A N/A N/A N/A N/A EXE EXE EXE
SMARTDRV N/A N/A N/A N/A N/A N/A N/A EXE EXE EXE
SMARTMON N/A N/A N/A N/A N/A N/A N/A EXE EXE N/A
SORT EXE EXE EXE EXE EXE EXE EXE EXE EXE EXE
SUBST N/A N/A N/A EXE EXE EXE EXE EXE EXE EXE
SYS COM COM COM COM COM COM COM COM COM COM
TREE COM COM COM COM COM COM COM COM COM COM
UNDELETE N/A N/A N/A N/A N/A N/A EXE EXE EXE EXE
UNFORMAT N/A N/A N/A N/A N/A N/A COM COM COM COM
VSAFE N/A N/A N/A N/A N/A N/A N/A COM COM COM
XCOPY N/A N/A N/A N/A EXE EXE EXE EXE EXE EXE

secret ms-dos

MS-DOS secret and/or unknown commandsBelow is a listing of MS-DOS commands that are not listed in any available help manual or in the commands syntax or are commonly unknown commands. Many of these commands that are known can be very useful when using MS-DOS, while some of the other commands are unknown and/or appear to do nothing.

Please use these commands cautiously, some of the commands can erase data and/or erase data without warning.ATTRIB , The command is short for ATTRIB -a -h -r - s *.* (removes all attributes of a file).
BACKUP /HP Unknown
DIR , This lists all files including hidden files, does not work in Windows 95 / 98 / NT / 2000.
DIR ... Lists all directories that do not have extensions. In Windows 95 / Windows 98 will list the contents of the directories previous to the directory currently in.
DOSKEY /APPEDIT Utilize doskey functions in MS-DOS command utilities such as edlin and debug.
DOSKEY /COMMAND Unknown
DOSKEY /PERMANENT Unknown
DOSKEY /SCRSIZE Unknown
DOSKEY /XHISTORY Unknown
FDISK /MBR Recreates the Master Boot Record See CH000175 for additional information.
FDISK /PRI See FDISK Page for additional information.
FDISK /EXT See FDISK Page for additional information.
FDISK /LOG See FDISK Page for additional information.
FDISK /Q Prevents fdisk from booting the system automatically after exiting fdisk.
FDISK /STATUS Shows you the current status of your hard drives.
FORMAT /AUTOTEST Formats the hard drive without any prompting.
FORMAT /BACKUP Like /AUTOTEST but it will ask you for a volume label.
FORMAT /Z:n Command used with FDISK supporting FAT32, used to specify the cluster size in bytes where n is multiplied by 512.
MEM /A or /ALL Adds a line into the MEM command tells the available space in HMA.
RESTORE /Y Unknown
RESTORE /Z Unknown
SET DIRCMD=0 Will make all directories hidden however still accessible, to get them back SET DIRCMD=
SHARE /NC Unknown
TRUENAME When placed before a file, will display the whole directory in which it exists.
VER /R Tells you the Revision and if DOS is in HMA.

microsoft dos command list

* See our our complete overview page for a brief description on each of the below commands.
A ansi.sys | append | arp | assign | assoc | at | atmadm | attrib
B batch | backup | bootcfg | break
C cacls | call | cd | chcp | chdir | chdsk | chkntfs | choice | cipher | cls | cmd | color | command | comp | compact | control | convert | copy | ctty
D date | debug | defrag | del | delete | deltree | dir| disable | diskcomp | diskcopy | diskpart | doskey | dosshell | driveparm
E echo | edit | edlin | emm386 | enable | endlocal | erase | exit | expand | extract
F fasthelp | fc | fdisk | find | findstr | fixboot | fixmbr | for| format | ftp | ftype
G goto | gpupdate | graftabl
H help | hostname
I if | ifhlp.sys | ipconfig
J NONE
K keyb
L label | lh | listsvc | loadfix | loadhigh | lock | logoff | logon
M map | md | mem| mkdir | mode | more | move | msav | msbackup | msd | mscdex | mwbackup
N nbtstat | net | netsh | netstat | nlsfunc | nslookup
O NONE
P path | pathping | pause | ping | popd | power | print | prompt | pushd
Q qbasic
R rd | reg | ren | rename | rmdir | route | runas
S scandisk | scanreg | set | setlocal | setver | sfc | share | shift | shutdown | smartdrv | sort | start | subst | switches | sys | systeminfo | systemroot
T taskkill | telnet | time | title | tracert | tree | type
U undelete | unformat | unlock
V ver | verify | vol
W NONE
X xcopy
Y NONE
Z NONE

Tuesday, May 5, 2009

cd rom




CD-ROMShort for Compact Disc-Read Only Memory, CD-ROM drives are CD-Players inside computers that can have speeds in the range from 1x and beyond, and have the capability of playing audio CDs and computer data CDs. Below is a picture of the front and back of a standard CD-ROM drive.



Below is an illustration of the back of a CD-ROM for users who may need to have a better example of the pins and/or connectors.


Additional information and help with computer CD-ROM drives can be found on our CD-ROM help page.
See our cleaning page for additional help with cleaning a CD-ROM drive as well as other computer hardware.

Computer Hardware

What is hardware?

Hardware is best described as a device that is physically connected to your computer or something that can be physically touched. A CD-ROM, monitor, and printer are all examples of computer hardware.

Cleaning hardware

Information on how to clean any of your computer hardware components can be found on our cleaning page.

Drivers

If you are looking for drivers for hardware devices, we have a list on our drivers page.

Adding hardware

Additional information and help with adding or installing computer hardware components can be found on document CHADD.
How hardware can cause issues

Computer hardware requires resources to correctly operate with the computer and the software installed in the computer. If your computer does not have the available resources, such as available IRQs, this will cause your computer to not properly work and/or the devices to not function properly.

In addition to needing resources, not all computer hardware will work properly with all computers, or may have incompatibilities with hardware that is already installed in your computer.

Finally, almost all computer hardware requires some type of software or drivers to be installed before it can properly communicate with the computer. If these drivers contain problems or do not properly work with the computer, this can cause issues with the hardware device you are attempting to install in the computer.