ファイルが整合性レベル低か調べるバッチファイル
ILshow.cmd ファイル...
ILshow.cmd
@echo off
for %%1 in (%*) do (
set x=
for /f "delims=" %%i in ('icacls "%%~1"') do (
for /f "tokens=1,3 delims=\: " %%j in ("%%i") do (
if "%%j"=="Mandatory" (
set x=%%k
call echo;%%x:~0,6%% %%~nx1
)
)
)
if not defined x echo;Med %%~nx1
)
結果は
Low ファイル名
Med ファイル名
« jpegファイルのexifメタデータを読み出すコマンド | トップページ | 指定フォルダ配下のすべてのファイルの整合性レベル低を調べるバッチファイル »