Respuestas:
puede crear un archivo de ejecución automática que contiene este código para copiar archivos desde la PC.
%backupcmd% "%USERPROFILE%\pictures" "%drive%\all\My pics"
Así que si cambia los dos códigos entre comillas, copiará los archivos desde el USB. Al igual que.
%backupcmd% "%drive%\all\My pics" "%USERPROFILE%\pictures"
o puedes probar:
@echo en :: variables SET odrive =% odrive: ~ 0,2% set backupcmd = xcopy / s / c / d / e / h / i / r / y echo en% backupcmd% "% USERPROFILE% \ Favorites" " % drive% \ backup \ favorites "% backupcmd%"% USERPROFILE% \ Desktop * .jpg ""% drive% \ backup \ img "% backupcmd%"% USERPROFILE% \ Desktop * .jpeg ""% drive% \ backup \ img "% backupcmd%"% USERPROFILE% \ Desktop * .bmp ""% drive% \ backup \ img "% backupcmd%"% USERPROFILE% \ Desktop * .3gp ""% drive% \ backup \ vid "% backupcmd%" % USPROFILE% \ Desktop * .mp4 ""% drive% \ backup \ vid "% backupcmd%"% USERPROFILE% \ Desktop * .avi ""% drive% \ backup \ vid "% backupcmd%"% USERPROFILE% \ Desktop * .wmv ""% drive% \ backup \ vid "% backupcmd%"% USERPROFILE% \ Contacts ""% drive% \ backup \ contacts "% backupcmd%"% USERPROFILE% \ Links ""% drive% \ backup \ links " % backupcmd% "% USERPROFILE% \ My Documents \ My Music" "% drive% \ backup \ mp3"% backupcmd% "% USERPROFILE% \ My Documents \ Downloads" "% drive% \ backup \ downloads"% backupcmd% "% USERPROFILE% \ My Music ""% drive% \ backup \ mp3 "% backupcmd%"% USERPROFILE% \ My Documents * .jpg ""% drive% \ backup \ img "% backup cmd% "% USERPROFILE% \ Mis documentos * .bmp" "% unidad% \ backup \ img"% backupcmd% "% USERPROFILE% \ Mis documentos * .avi" "% unidad% \ backup \ vid"% backupcmd% "% USERPROFILE% \ My Documents * .mpg ""% drive% \ backup \ vid "% backupcmd%"% USERPROFILE% \ My Documents * .3gp ""% drive% \ backup \ vid "% backupcmd%"% USERPROFILE% \ My Documentos * .mp4 ""% drive% \ backup \ vid "% backupcmd%"% USERPROFILE% \ Mis imágenes ""% drive% \ backup \ img "% backupcmd%"% USERPROFILE% \ Videos ""% drive% \ backup \ vid "% backupcmd%"% USERPROFILE% \ Music ""% drive% \ backup \ mp3 "% backupcmd%"% USERPROFILE% \ Downloads ""% drive% \ backup \ downloads "% backupcmd%" D: .jpg ""% drive% \ backup \ img "% backupcmd%" D: .jpeg ""% drive% \ backup \ image "% backup cmd%" D: .bmp ""% drive% \ backup \ image "% backup cmd%" D: .3gp ""% drive% \ backup \ vid "% backupcmd%" D: .mp4 ""% unidad% \ backup \ vid "% backupcmd%" D: .avi ""% drive% \ backup \ vid "% backupcmd%" D: *. wmv ""% drive% \ backup \ vid "@echo en cls