@echo off Title copyFolderStructure_freecommander_robocopy.bat REM updated 09/22/2018 REM for use with FreeCommander Ver. 2009.02b REM Other ways to use this batch file: REM Call this file from another batch file with the directories to copy like so: REM call C:\somefolder\copyFolderStructure_freecommander_robocopy.bat "C:\Folder1" "C:\Folder2" REM Execute from the CLI with the dirs to copy (may require administrator privileges): REM C:\somefolder\copyFolderStructure_freecommander_robocopy.bat "C:\Folder1" "C:\Folder2" REM Change "%1" and "%2" parameters to existing dirs on your PC and double-click REM this file. robocopy %1 %2 /e /xf * REM --------------------------- exit ----------------------------------------- :end EXIT /B 0