
If you cannot run Defrag from DOS directory, go to the Windows directory by typing CD\Windows.
From the C:\DOS> prompt, type Defrag and press Enter, which should begin running Defrag on the computer.įinally, some computer manufacturers have changed the installation directory of where Defrag is located. At the prompt, type CD\DOS and press Enter. If you are in Windows 3.x, click File and then Exit to get to the MS-DOS prompt. If you are running MS-DOS 6.0+ and want to run Defrag, follow the steps below. Windows 3.x and MS-DOS Defragĭefrag was first available in MS-DOS 6.0 and was available ever since.
Symantec a well respected computer company, offers such a program. However, various third-party companies offer utilities that Defrag and check your hard drive for you. Windows NT is not shipped with Microsoft Defrag. For a syntax and full list of defrag options in the command line, see our defrag command page.
Windows also supports running Defrag from the Windows command line.