in ur below example in this thread -
i am not undestanding the syntax of why *%%a*.CSV is used . can u please clarify my doubt, as it why %%a is used in between * * and please let know when this can be used .
FOR %%a IN (Fact) DO (
MOVE "C:\SourceTest\*%%a*.CSV" "C:\DestinationTest"