batch to run a program to all files

July 19, 2010 at 13:33:18
Specs: Windows XP
Hi there,

I am going to run a program ishapp2.exe to all files in a folder. This program converts the raw data to the delimited format. I wrote the following script but it does not work. Please help.

@echo off
dir /b "D:\DATA\test" >> list.txt

for /f %%i in (list.txt) do
(
ishapp2.exe "D:\DATA\test\%%i" "D:\DATA\%%i.txt"
)


See More: batch to run a program to all files

Report •

#1
July 19, 2010 at 14:06:21
problem solved.

Report •
Related Solutions


Ask Question