Batch file code to copy C:\folder\ to F:\

J

JosephPHILIPPA

I asked a microsoft CHATperson for batch file code to copy C:\folder\ to F:\and s/he gave me the following which I can make neither head nor tail of :xcopy /s "%userprofile%\Desktop\test.txt" for /F "usebackq tokens=1,2,3,4 " %%i in (`wmic logicaldisk get caption^,description^,drivetype 2^>NUL`)do (if %%l equ 2 (xcopy /s "%userprofile%\Desktop\test.txt" %%i\k Can anyone convert that for me to MINIMAL code that will allow a batch file to copy C:\folder\ to F:\ ?

Continue reading...
 
Back
Top Bottom