Having list of paths, how can I copy them in a new folder?

Page 1 of 2 12 LastLast

  1. Posts : 5
    Win10
       #1

    Having list of paths, how can I copy them in a new folder?


    Hello everyone,

    I have a list containing paths to be copied in a new folder.

    See the list:



    In other words, what I have here are only pictures (as you can see the extensions in the list), these pictures are to be copied in a new folder, how can I do that?

    * Note: I am a 'simple' Win10 user. I have no knowledge about coding and such things.

    ANY HELP WOULD BE REALLY APPRECIATED. THANKS IN ADVANCE!
      My Computer


  2. Posts : 2,143
    Windows 11 Pro (latest update ... forever anal)
       #2

    Select (1xclick) the first one in the list
    Ctrl+A (that will select all the rest of the list
    Ctrl+C to copy
    Navigate to the new location
    Ctrl+V to paste

    There are numerous ways to copy and paste/click and drag using the mouse but that requires a bit of dexterity and mouse skills. We'll leave that for another day ....
      My Computers


  3. Posts : 5
    Win10
    Thread Starter
       #3

    idgat said:
    Select (1xclick) the first one in the list
    Ctrl+A (that will select all the rest of the list
    Ctrl+C to copy
    Navigate to the new location
    Ctrl+V to paste

    There are numerous ways to copy and paste/click and drag using the mouse but that requires a bit of dexterity and mouse skills. We'll leave that for another day ....
    First of all, thanks for answering (even it was not my aim).

    Secondly, to clarify my problem,

    I have PATHS (around 500 paths)

    I want to copy and paste those in a new folder.

    If I have pictures, then easily I can SELECT, Ctrl+C, then Ctrl+V. DONE.

    I want my PC to refer to those paths, copy them, and paste them wherever I want.

    Please help me
    THANKS A LOT!
      My Computer


  4. Posts : 2,143
    Windows 11 Pro (latest update ... forever anal)
       #4

    So you just want the file locations in text format ...

    Karens Directory Printer program will create a text file
    Karen's Directory Printer the File Cataloging Utility for Windows v5.4.4 Released May 25, 2020 | Karen's Power Tools
      My Computers


  5. Posts : 5
    Win10
    Thread Starter
       #5

    idgat said:
    So you just want the file locations in text format ...

    Karens Directory Printer program will create a text file
    Karen's Directory Printer the File Cataloging Utility for Windows v5.4.4 Released May 25, 2020 | Karen's Power Tools
    Sorry for my explanation. My English is poor (I am Arabic):

    Let me try to explain my problem in other way:

    I have a list (with text format) that is:

    H:\New folder (2)\Tube1\All\2 6 SDGM Comp 2 HRDH B2 (200 rpm) 1 85 12-07-41 04-05-2020.jpg
    H:\New folder (2)\Tube1\All\3 6 SDGM Comp 2 HRDH B2 (200 rpm) 1 199 12-07-44 04-05-2020.jpg
    H:\New folder (2)\Tube1\All\4 6 SDGM Comp 2 HRDH B2 (200 rpm) 1 225 12-07-47 04-05-2020.jpg
    ...

    and many others. (They are all pictures in (jpg) format).

    Also, I have a new folder in my desktop, whose path is:

    C:\Users\Hussain\Desktop\New folder

    Now, I want those pictures to be copied in the new folder.
      My Computer


  6. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #6

    Hello @HussainAlqatari,

    Welcome to TenForums!

    [1] Open two instances of Windows Explorer.

    [2] In the FIRST Windows Explorer, navigate to the folder where the files you want to COPY are located.

    [3] In the SECOND Windows Explorer, navigate to the folder [ C:\Users\Hussain\Desktop\New folder ] where the files you want to PASTE is located.

    [4] In the FIRST Windows Explorer, press CTRL+A. This will highlight ALL the files. Then press CTRL+C. This will COPY ALL the selected files to the clipboard.

    [5] In the SECOND Windows Explorer, press CTRL+V. This will PASTE ALL the files to the folder.

    I hope this helps!
    Last edited by Paul Black; 11 Jun 2020 at 05:14.
      My Computer


  7. Posts : 1,223
    W10-Pro 22H2
       #7

    I think the answers so far have assumed you can 'see' in explorer the list of files, no more and no less., but I am going to assume you can't, perhaps because your list is a subset of the source folder contents. So you need (at minimum) a batch file to read the list and copy the items:
    Code:
    for /f "delims=" %%i in (dir.txt) DO (
        xcopy "%%i" "C:\Users\Hussain\Desktop\New folder"
    )
    pause
    where your list of paths is in the file dir.txt. I am new to this particular batch command, but have just tested it with my own list. You need the "delims=" option because you have spaces in the names. The simplest way to create a batch file is to rt-click in an explorer RH pane and select 'New>Text document', but while typing in the name you want, edit the extension to .bat. Then edit the file (Notepad will do) to include my code above, changing the name 'dir.txt' to the name of your list file. Then simply double-click on the .bat file (or rt-click and select 'open') and it should run. Windows may get in your way with warnings!

    Try it and let us know how you get on! hth, Martin
      My Computer


  8. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #8

    Hello @HussainAlqatari,

    Just to follow up on @mngerhold's post above.

    If your pictures are currently in the folder H:\New folder (2), replace (dir.txt) with ("H:\New folder (2)\Tube1\All\*.txt").

    Your first post shows the D:\ drive having the list BUT post #5 shows the H:\ drive !!!

    I hope this helps!
      My Computer


  9. Posts : 2,143
    Windows 11 Pro (latest update ... forever anal)
       #9

    HussainAlqatari said:
    I want my PC to refer to those paths
    I think the OP has a list (text format) of files/paths, and wants to paste them so they become links to the files they refer to.

    Not possible. Best to recreate the shortcuts from the files themselves.
      My Computers


  10. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #10

    idgat said:
    I think the OP has a list (text format) of files/paths, and wants to paste them so they become links to the files they refer to.

    Not possible. Best to recreate the shortcuts from the files themselves.
    That makes more sense now!
      My Computer


 

  Related Discussions
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 21:47.
Find Us




Windows 10 Forums