mirror of
https://github.com/massgravel/Microsoft-Activation-Scripts.git
synced 2026-03-30 06:51:57 +00:00
fix: update script encoding to UTF-8 for Windows 11 compatibility
This commit is contained in:
parent
97602941e5
commit
6e1ea5d82b
1 changed files with 1 additions and 1 deletions
|
|
@ -804,7 +804,7 @@ exit /b
|
|||
|
||||
:export
|
||||
|
||||
%psc% "$f=[System.IO.File]::ReadAllText('!_batp!') -split \":%~1\:.*`r`n\"; [io.file]::WriteAllText('!_pdesk!\$OEM$\$$\Setup\Scripts\SetupComplete.cmd',$f[1].Trim(),[System.Text.Encoding]::ASCII);"
|
||||
%psc% "$f=[System.IO.File]::ReadAllText('!_batp!') -split \":%~1\:.*`r`n\"; [io.file]::WriteAllText('!_pdesk!\$OEM$\$$\Setup\Scripts\SetupComplete.cmd',$f[1].Trim(),[System.Text.Encoding]::UTF8);"
|
||||
exit /b
|
||||
|
||||
::========================================================================================================================================
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue