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
Post a Comment