Windows 10: How Do I select multiple files in a folder from a list of file names Solved

Page 2 of 2 FirstFirst 12

  1. Posts : 324
    Windows 10 Pro x64
       1 Week Ago #11

    Guys the destination path has "spaces"
    C:\Users\admin\OneDrive\Website FESTOOL\Images\TTS_MAM Low Res\Festool_Picture_Online_Zoom_04_2018\Target

    Enclose the Destination in quotes:

    FOR /F "delims=" %N in (list.txt) do COPY "%N" "C:\Users\admin\OneDrive\Website FESTOOL\Images\TTS_MAM Low Res\Festool_Picture_Online_Zoom_04_2018\Target"
      My ComputerSystem Spec


  2. Posts : 7,032
    10 Home x64 (1803) (10 Pro on 2nd pc)
       1 Week Ago #12

    ddelo said: View Post
    Guys the destination path has "spaces"
    C:\Users\admin\OneDrive\Website FESTOOL\Images\TTS_MAM Low Res\Festool_Picture_Online_Zoom_04_2018\Target
    Well spotted!


    But actually, the full path isn't even needed. Relative paths are sufficient in this case and there's no space in the subfolder's name 'Target' to cause a problem.
      My ComputersSystem Spec


  3. Posts : 324
    Windows 10 Pro x64
       1 Week Ago #13

    Bree said: View Post
    Well spotted!


    But actually, the full path isn't even needed, relative paths are sufficient in this case.
    We agree. But since used, it requires quotes!!! :)
    That's why when parsing the command the command interpreter finds the space and does not recognize as a valid command, the rest of it!
      My ComputerSystem Spec


  4. Posts : 7,032
    10 Home x64 (1803) (10 Pro on 2nd pc)
       1 Week Ago #14

    ddelo said: View Post
    We agree. But since used, it requires quotes!!! :)
    Thanks for spotting the 'Gremlin'. Either way, @SGTOOL has the solution now :)
      My ComputersSystem Spec


  5. Posts : 324
    Windows 10 Pro x64
       1 Week Ago #15

    Bree said: View Post
    Thanks for spotting the 'Gremlin'. Either way, @SGTOOL has the solution now :)
    Teamwork my friend!!! :)
      My ComputerSystem Spec

  6.    1 Week Ago #16

    @Bree
    Thank you so much for you patience with my skill level. This is working exactly as I needed.
    -Rick
      My ComputerSystem Spec


  7. Posts : 7,032
    10 Home x64 (1803) (10 Pro on 2nd pc)
       1 Week Ago #17

    Glad to have helped.

    Your skill level has just gone up a notch or two - you've learned so important command line and batch file skills along the way. :)
      My ComputersSystem Spec


 
Page 2 of 2 FirstFirst 12

Related Threads
Hi. Below link shows a method to do that, but its probably for older versions of windows. How to Copy a List of Files in a Windows Folder Into an Excel List | Chron.com In windows 10, when I Shift+right click on a folder to open the Powershell...
I have a problem with a program not saving preset data. Possibly due to harlink extenstion with only one piece of software. I use symbolic hardlinks on my system but I do not know if the following has any bearing on the issue with the software I...
I want to move pictures I have taken with my Windows 10 Tablet to an external usb. I can copy them one at a time, but I would like to be able to select several picture by hitting the ctrl key or the shift key, but when I bring up the on screen...
- Winkey, “cmd” - “cd e:\media\trainingvids” - “dir *.* /s /b /a -d > c:\temp\dork.txt” So, with that I'm opening a command prompt, changing to the correct directory, doing a directory listing of all files (including sub-directories (/s), no...
When I launch file explorer and get the home view, it is showing a bunch of filenames in Chinese characters (see attached screenshot) which it says are in the desktop folder. However there are no such files when I look at the desktop folder. WTF? ...

Tags for this Thread

Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 12:07.
Find Us