Windows 10: in file explorer, I'm trying to copy and paste a template folder I created, but it keeps...

Discus and support in file explorer, I'm trying to copy and paste a template folder I created, but it keeps... in Windows 10 Network and Sharing to solve the problem; While in file explorer, I'm trying to copy and paste a template folder I created, but it keeps duplicating the files within instead. How do I correct... Discussion in 'Windows 10 Network and Sharing' started by Mr. Z 123, Nov 7, 2023.

  1. Mr. Z 123 Win User

    in file explorer, I'm trying to copy and paste a template folder I created, but it keeps...


    While in file explorer, I'm trying to copy and paste a template folder I created, but it keeps duplicating the files within instead. How do I correct this?It was working fine earlier in the day, now I can't move forward with my work without doing an inconvenient work around I figured out. I want this to go back to normal.

    :)
     
    Mr. Z 123, Nov 7, 2023
    #1
  2. temp02 Win User

    Java.nio.file - Copying files

    You can't copy a folder, thats why it generates an exception (you are trying to copy a folder using a copy file function).
    You probably need to list all the files inside that folder and copy one by one
     
    temp02, Nov 7, 2023
    #2
  3. Folder Template with shortcut to folder inside folder.

    I showed you the principle of a method that will do what you wish. To apply it to any folder structure you need to understand how it works.

    • In my shortcut I defined the "Start in" folder as %CD%. This means that the shortcut must use the
      current folder as its base. In my example this was C:\Templates\Template1\TestA.
    • For the shortcut I used this command line:

      explorer.exe ..\TestB\Target

      What exactly does this do? Here is the explanation:

      1. "..\" tells Explorer to step on up in the directory tree:

      C:\Templates\Template1\TestA -> C:\Templates\Template1

      2. "TestB" tells Explorer to steop one down in the directory tree:

      C:\Templates\Template1 -> C:\Templates\Template1\TestB

      3. "Target" tells Explorer to open the file or folder "Target".
    Applying this knowledge, you could create a shortcut that makes Explorer step up two folders:

    Explorer.exe ..\..\Template2\TestB\Target

    C:\Templates\Template1\TestA

    -> C:\Templates\Template1

    -> C:\Templates

    -> C:\Templates\Template2

    -> C:\Templates\Template1\TestB

    -> Open "Target"

    Armed with this knowledge you can now fix your shortcut yourself.
     
    Frederik Long, Nov 7, 2023
    #3
  4. Wozzer Win User

    in file explorer, I'm trying to copy and paste a template folder I created, but it keeps...

    Java.nio.file - Copying files

    Issue was the above, so thanks temp02.
     
    Wozzer, Nov 7, 2023
    #4
Thema:

in file explorer, I'm trying to copy and paste a template folder I created, but it keeps...

Loading...
  1. in file explorer, I'm trying to copy and paste a template folder I created, but it keeps... - Similar Threads - file explorer I'm

  2. Can I enter a folder in file explorer and files to it?other than copy and paste from the...

    in Windows 10 Software and Apps
    Can I enter a folder in file explorer and files to it?other than copy and paste from the...: Is there a way to stand in the destination folder and add files without opening the source folder? https://answers.microsoft.com/en-us/windows/forum/all/can-i-enter-a-folder-in-file-explorer-and-files-to/23b3786d-78eb-4903-aee7-c5709bcf4cf9
  3. Can I enter a folder in file explorer and files to it?other than copy and paste from the...

    in Windows 10 Gaming
    Can I enter a folder in file explorer and files to it?other than copy and paste from the...: Is there a way to stand in the destination folder and add files without opening the source folder? https://answers.microsoft.com/en-us/windows/forum/all/can-i-enter-a-folder-in-file-explorer-and-files-to/23b3786d-78eb-4903-aee7-c5709bcf4cf9
  4. in file explorer, I'm trying to copy and paste a template folder I created, but it keeps...

    in Windows 10 Gaming
    in file explorer, I'm trying to copy and paste a template folder I created, but it keeps...: While in file explorer, I'm trying to copy and paste a template folder I created, but it keeps duplicating the files within instead. How do I correct this?It was working fine earlier in the day, now I can't move forward with my work without doing an inconvenient work around I...
  5. in file explorer, I'm trying to copy and paste a template folder I created, but it keeps...

    in Windows 10 Software and Apps
    in file explorer, I'm trying to copy and paste a template folder I created, but it keeps...: While in file explorer, I'm trying to copy and paste a template folder I created, but it keeps duplicating the files within instead. How do I correct this?It was working fine earlier in the day, now I can't move forward with my work without doing an inconvenient work around I...
  6. cut,copy,paste disable in file explorer'

    in Windows 10 Customization
    cut,copy,paste disable in file explorer': cut,copy,paste disable in file explorer' https://answers.microsoft.com/en-us/windows/forum/all/cutcopypaste-disable-in-file-explorer/2d5da5c7-e22a-48e0-922b-f5535697c0d6
  7. File Explorer Won't Copy or Paste

    in Windows 10 Network and Sharing
    File Explorer Won't Copy or Paste: I've been trying to copy, paste and delete files on a couple of USB sticks and I've just run into problem after problem. Usually everything works fine, but today I've had some really weird things happen. When I was trying to copy and paste files, it said I could copy and...
  8. Pasting copied images to File Explorer

    in Windows 10 Network and Sharing
    Pasting copied images to File Explorer: Yesterday I could copy images from a browser and paste them straight to the file explorer. The assigned name consisted of random numbers and letters but the whole point is that I could copy and paste the image straight to the desired folder or any other program. I'm trying it...
  9. File Explorer > Folder Type Template?

    in Windows 10 Customization
    File Explorer > Folder Type Template?: For the most part, I do not mind Explorer's autodetecting the folder type (Music, Videos, etc). However, one thing that I miss from Windows 7 is being able to set the "style" for a folder type... where I could choose to display certain columns and have Explorer display those...
  10. Sudden Copy/Paste Folders in File Explorer Behavior Change

    in Windows 10 Software and Apps
    Sudden Copy/Paste Folders in File Explorer Behavior Change: File Explorer used to give me the option to either overwrite or skip existing files when copying a folder from one drive to another to replace a same name folder on the target drive. Today, that option dialog disappeared and the copy-paste process resulted in the automatic...