Search found 1 match

by cph
16 Feb 2019 01:58
Forum: DOS Batch Forum
Topic: Moving files from CSV to new folder along with path.
Replies: 0
Views: 19305

Moving files from CSV to new folder along with path.

i have a code which will generate CSV file and than move to new sub folders. @echo off setlocal enableDelayedExpansion set root=D:\Testing set csv=D:\Output\testing.csv set line= set curpath= set new= >nul copy nul: %csv% for /f %%F in ('dir /s/b /on %root%\*.tif') do ( if not "!curpath!" == "%%~dpF...