Thursday, November 9, 2023

Copy, xCopy to an USB using Win Command Prompt.

How to Copy Files and directories using xcopy to a USB Using Windows Command Prompt (CMD).


Find out the drive letter of your USB flash drive

---------------------------------------------

command prompt: wmic logicaldisk where drivetype=2 get deviceid, volumename, description



Change to the drive from the above command output

Lets Say,and create a folder there


G:

mkkdir bkup


Copy Files and Folders from Source to Target

--------------------------------------------------

copy show.pptx to G:\bkup


use xcopy

-----------

xcopy "C:\Users\username\documents docs\" G:\ /e /h /