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

Why can rails not find a route created by a helper? -

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -