jeudi 9 février 2017

If File attribute=this do this in batch

Vote count: 0

I want a batch script to execute specific commands depending on the file attributes of a file. For example:

If attrib %windir%\system32\bcrypt.dll RH (
      echo This is read only, and hidden!
) else (
      echo These file attributes don't match what I was looking for!
)

Thanks!

asked 21 secs ago

Let's block ads! (Why?)



If File attribute=this do this in batch

Aucun commentaire:

Enregistrer un commentaire