This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: Version 1.0 | |
@echo off | |
REM for first argument | |
if "%~1"=="" ( :: if no arguments are provided ask the user for the arguments | |
set /p source="Enter source directory location: " | |
)else ( :: set the variables as per the values of the parameters | |
set source=%~1 | |