Manage Windows permissions from the command line (documentation)
Administrators: Download the EXE version of SetACL 3.0.6 for 32-bit and 64-bit Windows.
2.将以下内容复制成bat脚本,跟SetACL64.exe一起运行
============================================================
@echo off
setlocal enabledelayedexpansion
pushd %~dp0
title %~dp0
set "set_acl=%~dp0SetACL64.exe"
echo set_acl=%set_acl%
set "SoftwareDistribution=%SystemRoot%\SoftwareDistribution\Download"
echo SoftwareDistribution=%SoftwareDistribution%