Windows CMD command for accessing usb
Windows CMD command for accessing usb?
Batch CMD :
Open CMD and Type
@echo off
Title List of connected external devices by Ankit
Mode con cols=100 lines=20 & Color 9E
wmic LOGICALDISK where driveType=2 get deviceID > wmic.txt
for /f "skip=1" %%b IN ('type wmic.txt') DO (echo %%b & pause & Dir %%b)
Del wmic.txt
pause
Comments
Post a Comment