Looping over all files except for a certain type -


i'm creating batch file encrypts files different folder, i'm able .txt files @ moment using

for %%c in (%mydir%\%1\*.txt*) ( ... 

i want files except files ending .aes possible ?

you hide .aes files before executing loop , unhide them back.

attrib +h *.aes %%c in (%mydir%\%1\*.txt*) ( ... attrib -h *.aes 

Comments

Popular posts from this blog

hibernate - How to load global settings frequently used in application in Java -

python 3.x - Mapping specific letters onto a list of words -

objective c - Ownership modifiers with manual reference counting -