Windows 10: incorrect xcopy syntax can anyone tell me what i did

Discus and support incorrect xcopy syntax can anyone tell me what i did in Windows 10 Backup and Restore to solve the problem; instead of using this command xcopy source destination /s i used xcopy /s source destination the source is a folder which wasn't created on the... Discussion in 'Windows 10 Backup and Restore' started by hmazuji, Aug 29, 2019.

  1. hmazuji Win User

    incorrect xcopy syntax can anyone tell me what i did


    instead of using this command
    xcopy source destination /s
    i used
    xcopy /s source destination

    the source is a folder which wasn't created on the destination. however, the xcopy command ran. i finally stopped the process using cntr c. please tell me what i did


    incorrect xcopy syntax can anyone tell me what i did [​IMG]


    :)
     
    hmazuji, Aug 29, 2019
    #1
  2. tcebob Win User

    Xcopy syntax for multiple source directories


    Very good, I will use it.

    In cmd, xcopy help states "source Specifies the file(s) to copy." but does not detail how to list them.

    is the squiggle in %%~a intentional or a typo?
     
    tcebob, Aug 29, 2019
    #2
  3. Private Win User
    Xcopy syntax for multiple source directories


    the above syntax is to be used in a batch file.

    here's a single liner for cmd:

    Code:
    Code:
    for %a in ("C:\Directory1" "C:\Directory2") do (xcopy /s /d "%~a" "H:\DestinationDirectory")
    yes, the squiggle is intentional, it's for a short and long pathnames element.
     
    Private, Aug 29, 2019
    #3
  4. Private Win User

    incorrect xcopy syntax can anyone tell me what i did

    Xcopy syntax for multiple source directories


    the /d switch is for date. if not specify, only the newer files will be copied.

    You can try the single line syntax above, just double the percent sign (%a to %%a) if you wish to create a batch file.
     
    Private, Aug 29, 2019
    #4
Thema:

incorrect xcopy syntax can anyone tell me what i did

Loading...
  1. incorrect xcopy syntax can anyone tell me what i did - Similar Threads - incorrect xcopy syntax

  2. Can anyone tell me what this key is?

    in Windows 10 Gaming
    Can anyone tell me what this key is?: weird reg key called HKEY_CLASSES_ROOT\GamesConfigServer.Cat1 https://answers.microsoft.com/en-us/windows/forum/all/can-anyone-tell-me-what-this-key-is/0367bf7f-4268-496b-af45-5a69b2c4c4c9
  3. Can anyone tell me what this key is?

    in Windows 10 Software and Apps
    Can anyone tell me what this key is?: weird reg key called HKEY_CLASSES_ROOT\GamesConfigServer.Cat1 https://answers.microsoft.com/en-us/windows/forum/all/can-anyone-tell-me-what-this-key-is/0367bf7f-4268-496b-af45-5a69b2c4c4c9
  4. can anyone tell what this is?

    in Windows 10 BSOD Crashes and Debugging
    can anyone tell what this is?: Problem signatureProblem Event Name: LiveKernelEventCode: 117Parameter 1: ffffa80a13e65010Parameter 2: fffff8056d5c60c8Parameter 3: 0Parameter 4: 44cOS version: 10_0_19042Service Pack: 0_0Product: 768_1OS Version: 10.0.19042.2.0.0.768.101Locale ID: 1033...
  5. can anyone tell what this is?

    in Windows 10 Gaming
    can anyone tell what this is?: Problem signatureProblem Event Name: LiveKernelEventCode: 117Parameter 1: ffffa80a13e65010Parameter 2: fffff8056d5c60c8Parameter 3: 0Parameter 4: 44cOS version: 10_0_19042Service Pack: 0_0Product: 768_1OS Version: 10.0.19042.2.0.0.768.101Locale ID: 1033...
  6. can anyone tell what this is?

    in Windows 10 Software and Apps
    can anyone tell what this is?: Problem signatureProblem Event Name: LiveKernelEventCode: 117Parameter 1: ffffa80a13e65010Parameter 2: fffff8056d5c60c8Parameter 3: 0Parameter 4: 44cOS version: 10_0_19042Service Pack: 0_0Product: 768_1OS Version: 10.0.19042.2.0.0.768.101Locale ID: 1033...
  7. Can anyone tell me what this is?

    in Windows 10 BSOD Crashes and Debugging
    Can anyone tell me what this is?: I saw this on the top left of my screen on the regular desktop part with no windows opened and I can move it around with my cursor but that’s it, don’t know what it is please help me...
  8. Can anyone tell me what this means pls?

    in Windows 10 Ask Insider
    Can anyone tell me what this means pls?: [ATTACH] submitted by /u/Fin808 [link] [comments] https://www.reddit.com/r/Windows10/comments/k4z1wj/can_anyone_tell_me_what_this_means_pls/
  9. Can anyone tell me what this icon means?

    in Windows 10 Ask Insider
    Can anyone tell me what this icon means?: [ATTACH] submitted by /u/medic713 [link] [comments] https://www.reddit.com/r/Windows10/comments/j6y6s9/can_anyone_tell_me_what_this_icon_means/
  10. Can Anyone tell me what IndigoJunoIQV.exe is?

    in AntiVirus, Firewalls and System Security
    Can Anyone tell me what IndigoJunoIQV.exe is?: I just upgraded to windows 10. I was doing a scan with house call online and it found IndigoJunoIQV manufacture unknown in msconfig/system configuration but it could not remove it. I have searched the net and no search results come up for that. I ran windows defenders and it...