depends on the OS, but for most it is :
defrag <DRIVE>
example:
defrag c:
Defrag
deltree D:\
1. Open an elevated Command Prompt window. To open an elevated Command Prompt, click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.2. Type the following command and press ENTER:rd /s /q C:\$Recycle.bin(This clears out the $Recycle.bin folder for the C:\ drive. You may have to do this for each hard disk partition in your system.)3. Type exit to close the Command Prompt window.
Defrag c:
1. Open Start>>Run and type cmd and press enter. This will open a command prompt window. On this command prompt window type the following steps. 2. type cd\ 3. type e: 4. type attrib -r -h -s autorun.inf 5. type del autorun.inf
There are three ways to change drive in Command prompt. The first way is to go to the drive, right-click it, then choose "Start Command Prompt Window Here". The Second one is to open CMD, and type the drive letter + colon (:) (Example: F:). To return to drive C: just type cd.. and it will return to it's default directory.
You can use the chkdsk command with the /f or /r switch in a command prompt window to check and fix errors on a disk without requiring a restart, as long as the drive is not the system drive. For example, you can run chkdsk D: /f to check and fix errors on the D: drive. However, if you attempt to run it on the system drive (usually C:), you will be prompted to schedule the check for the next system restart.
Local disk Properties > Tools Tab
dont knw
in command prompt you would type H:/.
with the PROMPT command type "prompt text", text being what you want it to say. now, instead of displaying the drive path, it will display what you entered as the text.
to access your flash drive you should be able to open my computer and then listed with the drives should be your flash drive you can just right click and then go to open. However, if this does not work do the following to convert to FAT or NTFS: To convert a volume to NTFS or FAT from the command prompt Open the Command Prompt window. In the command prompt window, type convert drive_letter: /fs:ntfs For example, typing convert D: /fs:ntfs would format drive D: with the ntfs format. Notes To open a command prompt, click Start, point to All Programs, point to Accessories, and then click Command Prompt. You can convert FAT or FAT32 volumes to NTFS with this command.