copiar mantendo as permissões
robocopy <diretorio-fonte> <destino> *.* /s /e /sec /mir /R:1 /W:5 /log:<arquivo-de-log.log>
Executar apartir de um batch (.bat) prompt de comando o powershell.
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "..................."
Automação no Windows
# winget install vscodium # choco install vscodium # scoop bucket add extras # scoop install vscodium