共有情報を取得する
コマンド:
wmic SHARE get /value
実行例:
C:\>wmic SHARE get /value
AccessMask=
AllowMaximum=TRUE
Caption=Remote Admin
Description=Remote Admin
InstallDate=
MaximumAllowed=
Name=ADMIN$
Path=C:\Windows
Status=OK
Type=2147483648
AccessMask=
AllowMaximum=TRUE
Caption=Default share
Description=Default share
InstallDate=
MaximumAllowed=
Name=C$
Path=C:\
Status=OK
Type=2147483648
AccessMask=
AllowMaximum=TRUE
Caption=Remote IPC
Description=Remote IPC
InstallDate=
MaximumAllowed=
Name=IPC$
Path=
Status=OK
Type=2147483651