Windows 10: Need help with XCOPY in Win 10 .bat file

Discus and support Need help with XCOPY in Win 10 .bat file in Windows 10 Gaming to solve the problem; Trying to automate one minor function in one of my .bat files and can't work out the "how".Trying to copy one file from a directory on my HDD to... Discussion in 'Windows 10 Gaming' started by DaveCorio, Dec 8, 2021.

  1. DaveCorio Win User

    Need help with XCOPY in Win 10 .bat file


    Trying to automate one minor function in one of my .bat files and can't work out the "how".Trying to copy one file from a directory on my HDD to another directory on the same drive. But here's where it gets tricky:The "source" directory contains 15 to 20 files with the same basic name - call it ABCDEEach file is dated, both in the name and in the date last modified - for example ABCDE_2021-12-07_20-00-25.mdb date modified 12/7/2021 3:00 PM The 20-00-25 is the time in UTC and is part of the generated file nameThese files are created several times a day whenever I modify th

    :)
     
    DaveCorio, Dec 8, 2021
    #1
  2. jmt20 Win User

    XCopy not working on Win10

    Hi,

    There is a thread on this topic but it doesn't show a resolution.

    Has something changed where xcopy doesn't work on Win10?

    I am looking to copy files and I can't get even the simpliest .bat file to work. Copying 1 file to another folder on the C directory.

    @EchoOff xcopy C:\files\test.bat C:\files-to\

    Any suggestions are appreciated!

    thanks,

    joan
     
    jmt20, Dec 8, 2021
    #2
  3. Help with a .bat file.

    I have this .bat file that I've been messing around with:


    Need help with XCOPY in Win 10 .bat file [​IMG]


    I got it to open the Windows Update interface:


    Need help with XCOPY in Win 10 .bat file [​IMG]


    However, I need the .bat file to go a step further and auto click the Check for updates button circled in orange.

    Can someone help me to finish editing the .bat file so that when I click the .bat file, the process of manually checking for Windows Updates becomes fully automated?
     
    EyeInTheSky, Dec 8, 2021
    #3
  4. Need help with XCOPY in Win 10 .bat file

    Updating .bat File, Removing Default Apps

    Hi SightUp.

    Don't have a bat file but step 4 in Option 2 will give you complete list and you can mod yours.

    Uninstall Apps in Windows 10


    Ken
     
    Caledon Ken, Dec 8, 2021
    #4
Thema:

Need help with XCOPY in Win 10 .bat file

Loading...
  1. Need help with XCOPY in Win 10 .bat file - Similar Threads - Need help XCOPY

  2. Need help trying to undo a .bat file

    in Windows 10 Gaming
    Need help trying to undo a .bat file: Please help, I accidently installed the "Z590 Mystic Light" fix in the support section of ibuypower.com. The problem is I actually have a mag z390 tomahawk. When I enter windows+r and enter msinfo the baseboard product shows Z590 PRO wifi and now my mystic light software...
  3. Need help trying to undo a .bat file

    in Windows 10 Software and Apps
    Need help trying to undo a .bat file: Please help, I accidently installed the "Z590 Mystic Light" fix in the support section of ibuypower.com. The problem is I actually have a mag z390 tomahawk. When I enter windows+r and enter msinfo the baseboard product shows Z590 PRO wifi and now my mystic light software...
  4. Need help trying to undo a .bat file

    in Windows 10 Drivers and Hardware
    Need help trying to undo a .bat file: Please help, I accidently installed the "Z590 Mystic Light" fix in the support section of ibuypower.com. The problem is I actually have a mag z390 tomahawk. When I enter windows+r and enter msinfo the baseboard product shows Z590 PRO wifi and now my mystic light software...
  5. Need to change file to .bat

    in Windows 10 Gaming
    Need to change file to .bat: I made a new text document and named it run.bat but it didn't change to a .bat file. https://answers.microsoft.com/en-us/windows/forum/all/need-to-change-file-to-bat/a303183b-1c61-48e0-84d1-be33a6fb2374
  6. Need help with XCOPY in Win 10 .bat file

    in Windows 10 Network and Sharing
    Need help with XCOPY in Win 10 .bat file: Trying to automate one minor function in one of my .bat files and can't work out the "how".Trying to copy one file from a directory on my HDD to another directory on the same drive. But here's where it gets tricky:The "source" directory contains 15 to 20 files with the same...
  7. Need help with XCOPY in Win 10 .bat file

    in Windows 10 Software and Apps
    Need help with XCOPY in Win 10 .bat file: Trying to automate one minor function in one of my .bat files and can't work out the "how".Trying to copy one file from a directory on my HDD to another directory on the same drive. But here's where it gets tricky:The "source" directory contains 15 to 20 files with the same...
  8. Need some Help with CMD and .bat files

    in Windows 10 Ask Insider
    Need some Help with CMD and .bat files: I have .bat file thats in a folder in my desktop (location). When i open the bat file i need it to run in the folder that's it's located (in the folder thats on my desktop) However, when i run the bat file it runs at the default location. So isn't there anyway I can change...
  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. Help with a .bat file.

    in Windows 10 Support
    Help with a .bat file.: I have this .bat file that I've been messing around with: [img] I got it to open the Windows Update interface: [img] However, I need the .bat file to go a step further and auto click the Check for updates button circled in orange. Can someone help me to finish...