Windows 10: Copying files

Discus and support Copying files in Windows 10 Support to solve the problem; I have a flash drive with many mp3's on it, however they are split up into various folders. How can I copy all mp3's to my fixed disc without the... Discussion in 'Windows 10 Support' started by MIkew365, Apr 29, 2017.

  1. MIkew365 Win User

    Copying files


    I have a flash drive with many mp3's on it, however they are split up into various folders. How can I copy all mp3's to my fixed disc without the directories, ie just copy the mp3's without having to access each individual directory. TIA, Mike

    :)
     
    MIkew365, Apr 29, 2017
    #1
  2. BulldogXX Win User

    Copying files

    Are you referring to Outlook that is part of Microsoft Office, or Outlook.com that is part of your Microsoft account?

    All the data for Outlook.com exists online, in your Microsoft account. There's nothing to copy, just sign in to your Microsoft account on the Surface and it's right there for you.

    For Microsoft Office, all your data (email, contacts, calendar, etc.) is contained in your 'personal store' which ends in .pst. Copy the .pst to the Surface and you're good to go.
     
    BulldogXX, Apr 29, 2017
    #2
  3. RPK_778 Win User
    Copying Files

    That's the option I used to get. Now it just makes extra copies. I haven't added any extensions. I wonder if some recent update changed things.
     
    RPK_778, Apr 29, 2017
    #3
  4. Cliff S New Member

    Copying files

    Cliff S, Apr 29, 2017
    #4
  5. Barman58 Win User
    I think you may be better using this slightly modified command if you do not need to move the folders *.mp3 will only copy the MP3 files Whereas *.* will also copy the folders
    Code: copy C:\UserName\music\*.mp3 D:\backup[/quote]
     
    Barman58, Apr 29, 2017
    #5
  6. cereberus Win User
    [/quote] This is not what OP is asking - OP has mp3 files in many directories and wants to put them all in one directory.
     
    cereberus, Apr 29, 2017
    #6
  7. Barman58 Win User
    Barman58, Apr 29, 2017
    #7
  8. cereberus Win User

    Copying files

    The way I would do it is open a command prompt and type (say usb was d drive)

    d:

    cd \

    dir /s /b *.mp3 > mp3.bat

    Then open mp3.bat in notepad and

    1) replace all "d:" with "copy d:"

    2) replace all ".mp3" with ".mp3 d:\mp3files\*.* (can change drive and path of destination - folder must exist)

    3) save and run batch file

    Just tested above (with pdf files in my case and it worked perfectly.
     
    cereberus, Apr 29, 2017
    #8
  9. Cliff S New Member
    Easiest is just to copy the path in file explorer and paste it in.
     
    Cliff S, Apr 29, 2017
    #9
  10. Pyprohly Win User
    There’s no switch to stop robocopy from preserving the directory structure. The way to do this in batch is to loop off the results of dir, which can be done directly like so.
    Code: for /f "delims=" %%I in (' dir /a:-d /b /s "C:\source\*.mp3" ') do ( copy "%%~I" "C:\destination\%%~nxI" )[/quote]
    But allow me to advocate for the PowerShell way:
    Code: Get-ChildItem 'C:\source' -Include '*.mp3' -Recurse | Copy-Item -Destination 'C:\destination'[/quote]
     
    Pyprohly, Apr 29, 2017
    #10
  11. cereberus Win User
    [/quote] Just tried it - failed with all sorts of error messages about permissions when using C drive.
     
    cereberus, Apr 29, 2017
    #11
  12. Pyprohly Win User
    Try changing the paths and the -Include argument, preferably to something that exists.
     
    Pyprohly, Apr 29, 2017
    #12
  13. cereberus Win User

    Copying files

    Whole point of OP's post was he had multiple source directories.
     
    cereberus, Apr 29, 2017
    #13
  14. Pyprohly Win User
    Multiple source directories and recursive? Okay:

    Code: Get-ChildItem 'C:\source1', 'C:\folder\source2', 'C:\some\folder\source3' -Include '*.mp3' -Recurse | Copy-Item -Destination 'C:\destination'[/quote]
     
    Pyprohly, Apr 29, 2017
    #14
  15. cereberus Win User
    [/quote]
    But point is OP would have to type them all in. See my batch file method earlier - takes 5 minutes or less.
     
    cereberus, Apr 29, 2017
    #15
Thema:

Copying files

Loading...
  1. Copying files - Similar Threads - Copying files

  2. I deleted the user file after copying it to my removable Hardrive and didn’t set a restore...

    in Windows 10 Gaming
    I deleted the user file after copying it to my removable Hardrive and didn’t set a restore...: I was trying to empty space and didn’t realize I would mess up my computer and now I’m in despair as I can’t find a way to fix it please help me...
  3. I deleted the user file after copying it to my removable Hardrive and didn’t set a restore...

    in Windows 10 Software and Apps
    I deleted the user file after copying it to my removable Hardrive and didn’t set a restore...: I was trying to empty space and didn’t realize I would mess up my computer and now I’m in despair as I can’t find a way to fix it please help me...
  4. How to find copied files history

    in Windows 10 Gaming
    How to find copied files history: I copied files from USB Drive to My Computer and the transfer screen appeared and now I cannot find these files in the destination location, How can I find the data of the last copy operation on my device?...
  5. How to find copied files history

    in Windows 10 Software and Apps
    How to find copied files history: I copied files from USB Drive to My Computer and the transfer screen appeared and now I cannot find these files in the destination location, How can I find the data of the last copy operation on my device?...
  6. I Am SO MAD At MICROSOFT RIGHT NOW let me explain, so I was trying to copy a file to my...

    in Windows 10 Gaming
    I Am SO MAD At MICROSOFT RIGHT NOW let me explain, so I was trying to copy a file to my...: First of all, whenever I open a file explorer, it just stops responding a couple seconds later, I know you had something do with this Microsoft, does anybody know a possible fits I do not want to mess around in the registry in mess, something and break the system I try to...
  7. I Am SO MAD At MICROSOFT RIGHT NOW let me explain, so I was trying to copy a file to my...

    in Windows 10 Software and Apps
    I Am SO MAD At MICROSOFT RIGHT NOW let me explain, so I was trying to copy a file to my...: First of all, whenever I open a file explorer, it just stops responding a couple seconds later, I know you had something do with this Microsoft, does anybody know a possible fits I do not want to mess around in the registry in mess, something and break the system I try to...
  8. Why do I have hundreds of files that copy added to file title?

    in Windows 10 Network and Sharing
    Why do I have hundreds of files that copy added to file title?: Why do I have hundreds of files that copy added to file title? https://answers.microsoft.com/en-us/windows/forum/all/why-do-i-have-hundreds-of-files-that-copy-added-to/322eb071-1979-4c00-8257-778b640789c8
  9. Why do I have hundreds of files that copy added to file title?

    in Windows 10 Gaming
    Why do I have hundreds of files that copy added to file title?: Why do I have hundreds of files that copy added to file title? https://answers.microsoft.com/en-us/windows/forum/all/why-do-i-have-hundreds-of-files-that-copy-added-to/322eb071-1979-4c00-8257-778b640789c8
  10. Why do I have hundreds of files that copy added to file title?

    in Windows 10 Software and Apps
    Why do I have hundreds of files that copy added to file title?: Why do I have hundreds of files that copy added to file title? https://answers.microsoft.com/en-us/windows/forum/all/why-do-i-have-hundreds-of-files-that-copy-added-to/322eb071-1979-4c00-8257-778b640789c8