Windows 10: create an auto bat file to copy folder to pen drive

Discus and support create an auto bat file to copy folder to pen drive in Windows 10 Gaming to solve the problem; HiI would like to create a bat file or another way to copy my docs folder to a pen drive every week. I would like it to do it automatically, in case i... Discussion in 'Windows 10 Gaming' started by taggy1, Nov 19, 2022.

  1. taggy1 Win User

    create an auto bat file to copy folder to pen drive


    HiI would like to create a bat file or another way to copy my docs folder to a pen drive every week. I would like it to do it automatically, in case i forget.RegardsStephen

    :)
     
    taggy1, Nov 19, 2022
    #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 19, 2022
    #2
  3. Wozzer Win User
    Java.nio.file - Copying files

    Issue was the above, so thanks temp02.
     
    Wozzer, Nov 19, 2022
    #3
  4. create an auto bat file to copy folder to pen drive

    Help with .bat to Copy and Rename to the same dir?

    Hi guys,

    Me and a friend is playing a prank on another friend, and this is pretty harmless, just a "friendly" reminder to him ^^

    So, basically, the title explains it mostly, but I will go into detail.

    What I need is a .bat that will create multiple .txt files in one directory. They must have some text in them.

    That or copy an existing .txt file, and rename the multiple copies.

    Like so:

    Copy multiple instances of filename.txt from C:/ to C:/folder/ and rename them so none of them gets deleted.

    Or

    Create filename.txt in C:/folder/ and make multiple copies of it, and rename them so none of them gets deleted.

    Hopefully this will make sense ^^

    Thanks in advance,
    Val
     
    Valenciente, Nov 19, 2022
    #4
Thema:

create an auto bat file to copy folder to pen drive

Loading...
  1. create an auto bat file to copy folder to pen drive - Similar Threads - create auto bat

  2. Copying a folder does not create a copy of the folder, but instead creates copies inside...

    in Windows 10 Gaming
    Copying a folder does not create a copy of the folder, but instead creates copies inside...: Windows 11 ProVersion 10.0.22.631 Build 22631As the title states, when I copy a folder and try to paste it, instead of creating a new folder with, for example, "folder name - copy", it simply creates duplicates of the folder contents inside the original folder. I have Googled...
  3. Copying a folder does not create a copy of the folder, but instead creates copies inside...

    in Windows 10 Software and Apps
    Copying a folder does not create a copy of the folder, but instead creates copies inside...: Windows 11 ProVersion 10.0.22.631 Build 22631As the title states, when I copy a folder and try to paste it, instead of creating a new folder with, for example, "folder name - copy", it simply creates duplicates of the folder contents inside the original folder. I have Googled...
  4. create an auto bat file to copy folder to pen drive

    in Windows 10 Software and Apps
    create an auto bat file to copy folder to pen drive: HiI would like to create a bat file or another way to copy my docs folder to a pen drive every week. I would like it to do it automatically, in case i forget.RegardsStephen...
  5. Failiure to copy a small file in pen drive

    in Windows 10 Gaming
    Failiure to copy a small file in pen drive: I am on a Win 11 system.Off late facing some problem while copying files from my Pc to pen drives, not the other way round.I want to copy a PDF file of size 41 KB to a pen drive with 3.09 GB free space, but the system prompts that "There is not enough memory to complete this...
  6. Failiure to copy a small file in pen drive

    in Windows 10 Software and Apps
    Failiure to copy a small file in pen drive: I am on a Win 11 system.Off late facing some problem while copying files from my Pc to pen drives, not the other way round.I want to copy a PDF file of size 41 KB to a pen drive with 3.09 GB free space, but the system prompts that "There is not enough memory to complete this...
  7. Bat script to select a folder and update the path in a bat file

    in Windows 10 Support
    Bat script to select a folder and update the path in a bat file: How do I combine this scripts? i want the highlighted folder path to been passed in to the script that's been generated (rensa_datafiler.bat) Its begins with you select a folder: @Echo off Title Folder Selection echo( Select folder . . . call:FolderSelection "%SourcePath%",...
  8. Corrupted folder on pen drive

    in Windows 10 Network and Sharing
    Corrupted folder on pen drive: Hello, I used to have a folder on my pen drive but a few days ago it got corrupted i think. Basically, it's no longer an actual folder. On my second laptop it says its a fun2save file. And on my main laptop it's not recognized and the file size is 16 kb. I also have a...
  9. need help creating a file/folder listing *.bat file

    in Windows 10 Support
    need help creating a file/folder listing *.bat file: pretty much as the subject states, l had one in the past but l cant remember where l put it and forget how it was written. basically l just want a script that lists files and folders in a specific directory without listing the sub folders within that dir (just a bog standard...
  10. create a new folder or copy a file to a specific folder it doesn't a

    in Windows 10 Support
    create a new folder or copy a file to a specific folder it doesn't a: Hi everyone, It seem my windows 10 Home having problem, a simple malfunction which I don't understand why this happening, the problem related to each time I create a new folder or copy a file to a specific folder it doesn't appear until press the F5 key to refresh. Does...