- #@&cls&powershell "type %~s0|out-string|iex"&pause&exit
- $xx=0xfff
- $a=gc 'a'
- dir b\*.*|%{
- $b=gc -enc byte $_.fullname
- $c=[Text.Encoding]::Default.GetBytes($a[$i++])
- sc -enc byte $_.fullname $([byte[]](
- $b[0..$xx]+
- $c+
- $b[($xx+$c.count)..$b.count]
- ))
- }
复制代码
|