Skip to content

Instantly share code, notes, and snippets.

View ThisIsArnab's full-sized avatar

Arnab Das ThisIsArnab

View GitHub Profile
@ThisIsArnab
ThisIsArnab / updateFolder.bat
Last active March 14, 2021 17:29
Robocopy script to copy only new or modified files to destination.
:: 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