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

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -