You can access the USB drive by its drive letter. To know the drive letter you can run this command:
C:\>wmic logicaldisk where drivetype=2 get deviceid, volumename, description
From here you will get the drive letter (Device ID) of your USB drive.
For example if its F: then run the following command in command prompt to see its contents:
C:\> F: F:\> dir
Related Posts:
- What is the reason for the error message “System cannot find the path specified”?
- How to run powershell script from .ps1 file?
- ” is not recognized as an internal or external command, operable program or batch file
- ” is not recognized as an internal or external command, operable program or batch file
- Access is denied in windows cmd.Why?
- How to “comment-out” (add comment) in a batch/cmd?
- How do I test if Python is installed on Windows (10), and run an exe to install it if its not installed?
- Windows equivalent to UNIX pwd
- “rm -rf” equivalent for Windows?
- “rm -rf” equivalent for Windows?
- Moving file using cmd?
- How do I kill the process currently using a port on localhost in Windows?
- How to “comment-out” (add comment) in a batch/cmd?
- “if not exist” command in batch file
- “if not exist” command in batch file
- Defining and using a variable in batch file
- PHP is not recognized as an internal or external command in command prompt
- Windows 7 – ‘make’ is not recognized as an internal or external command, operable program or batch file
- Ping with timestamp on Windows CLI
- What is the Windows equivalent of the diff command?
- Command prompt won’t change directory to another drive
- How to extract or unpack an .ab file (Android Backup file)
- Desktop: The system cannot find the specified path
- Changing all files’ extensions in a folder with one command on Windows
- ‘python’ is not recognized as an internal or external command [duplicate]
- Install an apk file from command prompt?
- Install an apk file from command prompt?
- How to list files in windows using command prompt (cmd). I’ve tried using ‘ ls ‘ as in Linux but it shows an error?
- What does cmd /C mean?
- What does cmd /C mean?
- How can I open a cmd window in a specific location?
- Create an empty file on the commandline in windows (like the linux touch command)
- adb is not recognized as internal or external command, operable program or batch file
- Need to navigate to a folder in command prompt
- Rainbow Matrix CMD
- How do I create a Batch file to change an exe installer to Win XP SP3 compatibility mode and launch installer
- The filename, directory name, or volume label syntax is incorrect inside batch
- ‘ls’ is not recognized as an internal or external command, operable program or batch file
- BCP error “Unable to open BCP host data-file”
- ‘Pip’ is Not Recognized as an Internal or External Command windows 10 CMD
- Windows Activation Batch (.cmd File
- How to force `findstr` to ignore `Cannot open` returns
- How to run PowerShell in CMD
- How to open an elevated cmd using command line for Windows?
- xcopy returns error “Invalid number of parameters” when exclude parameter is set
- How to run Pip commands from CMD
- What is the reason for the CD /D switch in Windows cmd?
- ‘ls’ is not recognized as an internal or external command, operable program or batch file
- ‘openssl’ is not recognized as internal or external command
- XCOPY: Overwrite all without prompt in BATCH
- Curl not recognized as an internal or external command, operable program or batch file
- Redirecting Output from within Batch file
- How do I execute cmd commands through a batch file?
- How does the echo command works in batch programming
- How to split large text file in windows?
- How do I use spaces in the Command Prompt?
- Adb backup does not work
- Calling dir in cmd prints out: “Volume in drive C has no label.”
- How to use ADB Shell when Multiple Devices are connected? Fails with “error: more than one device and emulator”