Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
283 B

  1. BEGIN {FS = ","; chk = "chktrust -"}
  2. $1 ~ /\.[Cc][Aa][Bb]/ { print chk "C", $1; next}
  3. $1 ~ /\.[Ee][Xx][Ee]/ { print chk "I", $1; next}
  4. $1 ~ /\.[Oo][Cc][Xx]/ { print chk "I", $1; next}
  5. $1 ~ /\.[Dd][Ll][Ll]/ { print chk "I", $1; next}
  6. {
  7. print "ERROR - Unknown file type"
  8. }