加密:
@echo off
echo web.config
c:
cd c:\windows\Microsoft.NET\Framework64\v4.0.30319 aspnet_regiis -pe "appSettings" -app "/XXX"
aspnet_regiis -pe "connectionString" -app "/XXX"
aspnet_regiis -pe "system.web/identity" -app "/XXX" pause
解密:
@echo off
echo web.config
c:
cd c:\windows\Microsoft.NET\Framework64\v4.0.30319 aspnet_regiis -pd "appSettings" -app "/XXX"
aspnet_regiis -pd "connectionString" -app "/XXX"
aspnet_regiis -pd "system.web/identity" -app "/XXX" pause