![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
![]() |

|
| Microsoft Windows xp error all errors and bugs related to Microsoft winxp error |
![]() |
|
Create batch program to execute on each file
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Administrator
Posts: 18,715
Join Date: Jan 2006
Rep Power: 10
IM:
|
Ex: .exe is call color.exe Usage would be: color photo.bmp I have many .bmp files in the folder that I want to run color.exe on. Any suggeestions? |
|
|
|
|
|
|
|
|
#2 (permalink) |
|
Administrator
Posts: 18,715
Join Date: Jan 2006
Rep Power: 10
IM:
|
for /f %a in ('dir /b *.bmp') do color %a If you insist on putting this in a batch file, then you'll need to double the % signs - for /f %%a in ('dir /b *.bmp') do color %%a |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|