Please enable JavaScript.
Coggle requires JavaScript to display documents.
Operating System Command Line Tools (1.3) (Copy commands (/V verifies that…
Operating System Command Line Tools (1.3)
Privileges
Many of the tools I’ll show you today can be run by any user.Most users are going to run these commands with standard privileges.
some commands are going to require additional access. You will need to have administrator privileges,
type Help in cmd, and hit Enter. Or, you can type Help and the name of a command, and you’ll get detailed information about this particular command
Troubleshooting
"Diskpart" command checks storage devices on PC if Graphical user interface isnt accessible
This will give you access to configure, format, and make changes to the existing volumes on your computer.
Inside of Diskpart, you can run commands like List Volume that will show you the different volumes on your computer.
a Format command is a command that initialize or erases everything that’s in a partition
CHKDSK /f
goes through the logical system check of that particular drive. And it will fix any problems with that logical file system.
CHKDSK /r
which is not only going to perform the slash F, but will go through every sector on the drive, and make sure that every sector can be read and written to without any problems
DIR
sees the files and directories that are in your system. provide you with a directory listing of everything that happens to be in the folder that you specify.
DEL. This is also called the Erase command. And it will remove a file from the file system.
MD (make a directory). CD (Change Directory). (RD (Remove directory)
Copy commands
/V verifies that the files are been copied succesfully
/Y cancels out the prompt to confirm you want to overwrite the existing file.
XCOPY /s (copy files and sub files) , duplicates directory
/S copies all the subfolders within main file
Robotcopy has additional functionality, like being able to resume a copy if you happen to lose the connection in the middle of performing a copy between one device and another
TASKKILL (Terminates task process ID or image name
SFC scan through all of your operating system files and inform you of any they don’t match what they should be. You also have the option to have SFC correct any files that might not match what should be on your operating system.
Shutdown /s /t (Wait nn seconds, then shutdown
shutdown /r /t (shutdown and restart after nn seconds
shutdown /a (abort the countdown)
EXPAND CMD
expand -d <cabinetname>
displays files in a cabinet
expand <cabinetname> -f:filename <destination>
extract a file
windows stores files in a file cabinet (.CAB file)
GpUpdate (Group Policy)