Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
Fleischkuechle committed May 19, 2024
1 parent 9ad5e6d commit 02f1db1
Showing 1 changed file with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
@echo off

REM this is getting the path where the bat file is.
cd /D "%~dp0"
@REM config input and output folder (must be there)
set input=%cd%\input
set output=%cd%\output
@REM xcopy "%input%\*" "%output%\" /s /e


@REM REM this gives the ability to exlude subfolders from the copy process
@REM @REM example in the xcopy_exclude.txt
@REM @REM subfolder2\
@REM @REM subfolder1\
@REM @REM subfolder2\
xcopy "%input%\*" "%output%\" /s /e /exclude:xcopy_exclude.txt

0 comments on commit 02f1db1

Please sign in to comment.