I see no reason why you cannot just do this with a single command.
This one uses the Standard location for the users profile directory as the destination:
Copy /Y "%LocalAppData%PackagesMicrosoft.Windows.ContentDeliveryManager_cw5n1h2txyewyLocalStateAssets*" "%UserProfile%PicturesSpotlight*.jpg"
If your location is really in the D:
drive then:
Copy /Y "%LocalAppData%PackagesMicrosoft.Windows.ContentDeliveryManager_cw5n1h2txyewyLocalStateAssets*" "D:UsersAdamPicturesSpotlight*.jpg"
I both examples I have used the built-in copy
command, there is no benefit in using the deprecated xcopy.exe
utility for this, as you are not using any of its optional features.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…