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

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

javascript - jquery or ashx not working -

inno setup - TLabel or TNewStaticText - change .Font.Style on Focus like Cursor changes with .Cursor -