You can find the file’s directory by going to the file’s location in File Explorer and then clicking the URL bar near the top of the File Explorer window. Most files will be somewhere in the following directory: [drive letter]:\Users[username] (for example, “C:\Users\Kyle”). This is the directory in which almost every user-created file on your computer is located. A file on your desktop for the above example would be in the “C:\Users\Kyle\Desktop” directory, while a file in the Documents folder would be in the “C:\Users\Kyle\Documents” directory.
Keep in mind that if you’re on a shared computer (e. g. , a school or public PC), you may not be able to access the Command Prompt.
If there are spaces in the file’s name, you need to put quotation marks around them. For example, a file named “Pickles are Good. txt” would be Pickles" “are” “Good. txt in Command Prompt.
If you don’t do this, the file will be copied to your user directory (e. g. , “C:\Users[you]”) by default.
For example, if you want to copy all of the files inside of a folder called “Example” that’s on your desktop, you’d go to C:\Users\humpb\Desktop here.
As with file names, you’ll need to use quotes around any spaces in the folder name.
If there are lots of files in the folder, this can get messy if you copy them into an unorganized folder since the folder itself won’t be copied with the files.