Search found 11 matches

by key
06 Dec 2022 23:32
Forum: DOS Batch Forum
Topic: copy
Replies: 12
Views: 10617

Re: copy

(e.g., *.jpg; *.tiff; *.eps) 2 or more extension at a time
by key
06 Dec 2022 23:31
Forum: DOS Batch Forum
Topic: copy
Replies: 12
Views: 10617

Re: copy

need copy with extension (e.g., *.jpg; *.tiff; *.eps) how to include this
by key
06 Dec 2022 03:50
Forum: DOS Batch Forum
Topic: copy
Replies: 12
Views: 10617

Re: copy

Kindly help me pls.
by key
05 Dec 2022 11:31
Forum: DOS Batch Forum
Topic: copy
Replies: 12
Views: 10617

Re: copy

need to copy specific files extension and copy subfolder with specific files extension @echo off setlocal enabledelayedexpansion for %%A in (*.bat) do ( for /f "delims=" %%B in ("%%A") do set fname=%%~nB for /f "delims=" %%C in ("%%A") do set fextn=%%~xC for /f "tokens=1* delims=_" %%D in ("!fname!"...
by key
05 Dec 2022 05:32
Forum: DOS Batch Forum
Topic: copy
Replies: 12
Views: 10617

Re: copy

not working
by key
05 Dec 2022 01:54
Forum: DOS Batch Forum
Topic: copy
Replies: 12
Views: 10617

Re: copy

@echo off setlocal enabledelayedexpansion xcopy /D /U /Y "anyfolder\ batch name as folder name \anyfolder\*" "anyfolder\spi- batch name as folder name \anyfolder\" xcopy /E "anyfolder\ batch name as folder name \anyfolder\" "anyfolder\spi- batch name as folder name \anyfolder\" xcopy /D /U /Y "anyfo...
by key
05 Dec 2022 00:47
Forum: DOS Batch Forum
Topic: copy
Replies: 12
Views: 10617

copy

1. batch file name as folder name
2. need to copy multiple extensions files copy to another path
3. need to subfolder and inside file only copy to another path
by key
25 Oct 2022 05:06
Forum: DOS Batch Forum
Topic: need to add header and add a formula
Replies: 6
Views: 4998

Re: need to add header and add a formula

can add column header using batch?

i will copy paste the formula
by key
25 Oct 2022 04:03
Forum: DOS Batch Forum
Topic: need to add header and add a formula
Replies: 6
Views: 4998

Re: need to add header and add a formula

need to add this formula in below row of Find Header:

=INDEX({"IFig";"SFig";"Fig";"CFig"},MATCH(MID(LEFT(B2,FIND(".",$B2)-1),10,1),{"a";"s";"f";"c"},0)) & VALUE(MID(LEFT(B2,FIND(".",$B2)-1),11,2)) & MID(LEFT(B2,FIND(".",$B2)-1),13,99)
by key
24 Oct 2022 21:27
Forum: DOS Batch Forum
Topic: need to add header and add a formula
Replies: 6
Views: 4998

Re: need to add header and add a formula

I have attached the csv files.
by key
23 Oct 2022 23:42
Forum: DOS Batch Forum
Topic: need to add header and add a formula
Replies: 6
Views: 4998

need to add header and add a formula

@echo off SET "CDIR=%~dp0" :: for loop requires removing trailing backslash from %~dp0 output SET "CDIR=%CDIR:~0,-1%" FOR %%i IN ("%CDIR%") DO SET "PARENTFOLDERNAME=%%~nxi" ECHO Parent folder: %PARENTFOLDERNAME% dir /b /o:n *.tif *.eps *.png *.jpg > %PARENTFOLDERNAME%.csv exit ----------------------...