para ver ficheiros de CD ou DVD no prompt(ms-dos) e apenas identificar a estensao onde esta instalada a drive e fazer dir.................
ex:1
abrir prompt
digitar extencao: d:\e:\f:\(((sera uma destas)))
e aquela que for e digitar dir.....para arquivos grandes...dir/p
exemplo::::::d:((((enter)))
d.......dir/p
The command used to format a drive is "Format".
The command used to check and repair the hard drive in Windows is chkdsk. You can run it from the Command Prompt by typing chkdsk C: /f, where "C:" is the drive letter you want to check. In macOS, the equivalent command is fsck, which can be run in the Terminal. For both systems, it's advisable to close all applications and back up important data before performing disk checks.
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.
To check for bad sectors on a drive using the command prompt, you can use the chkdsk command. Specifically, you would type chkdsk X: /f /r, replacing "X" with the letter of the drive you want to check. The /f option fixes errors on the disk, and the /r option locates bad sectors and recovers readable information. After executing the command, you'll receive a report on the status of the drive, including any detected bad sectors.
Defrag
Go to the C: prompt and type CHKDESK
deltree D:\
in command prompt you would type H:/.
To switch from drive A to drive C in a command prompt, you simply type C: and press Enter. This command changes the current working drive to drive C. If you need to switch back to drive A, you would type A: and press Enter.
The label command lets you set or change the 11-character label of a drive. The vol command only displays it, along with its serial number.
depends on the OS, but for most it is : defrag <DRIVE> example: defrag c:
Mkdir and md command give then make a directory or drive