diff --git a/installer/resources/fixperms.bat b/installer/resources/fixperms.bat index bd2c74cbf..b0447fc45 100644 --- a/installer/resources/fixperms.bat +++ b/installer/resources/fixperms.bat @@ -16,4 +16,4 @@ :: Specifying the SID will work on ALL versions of Windows. :: List of well-known SIDs at http://support.microsoft.com/kb/243330/en-us :: -echo Y|icacls %1 /grant %username%:F /c /t /q > %1%\fixperms.log +echo Y|icacls %1 /grant "%username%":F /c /t /q > %1%\fixperms.log diff --git a/installer/resources/fixperms2.bat b/installer/resources/fixperms2.bat index a62e16dca..39f34e3f3 100644 --- a/installer/resources/fixperms2.bat +++ b/installer/resources/fixperms2.bat @@ -15,4 +15,4 @@ :: Specifying the SID will work on ALL versions of Windows. :: List of well-known SIDs at http://support.microsoft.com/kb/243330/en-us :: -echo Y|icacls %1 /grant:r %username%:F *S-1-5-32-545:RX /c /t /q > %1%\fixperms.log +echo Y|icacls %1 /grant:r "%username%":F *S-1-5-32-545:RX /c /t /q > %1%\fixperms.log