Search found 2 matches

by ccarminati
30 Jan 2017 07:16
Forum: DOS Batch Forum
Topic: populate csv
Replies: 2
Views: 1814

Re: populate csv

Thanks for your reply. The batch executes the following command on line 11: for /r %F in (*.pdf) do @echo %%~nxF > %filename% If I run same command inside folder I get: for /r %F in (*.*) do @echo %~nxF AROLDOALMEIDA2014.pdf But when the batch writes into the csv it only writes AROLDOALMEIDA2014 Mak...
by ccarminati
29 Jan 2017 17:41
Forum: DOS Batch Forum
Topic: populate csv
Replies: 2
Views: 1814

populate csv

I am using the following script to populate a csv file. What do I need to change so the script will add filename+extension? Right now only writes the filename. for %%a in (*.csv) do call :addID "%%~Na" "%%a" goto :EOF :addId @echo off for /f "usebackq delims=" %%b in (%...