8 lines
278 B
PowerShell
8 lines
278 B
PowerShell
mkdir .\baza_utf8
|
|
Get-ChildItem baza | ForEach-Object -Process {
|
|
$n = $_.Name
|
|
get-content $_ -Encoding KOI8-R | Out-File ".\baza_utf8\$n" -Encoding utf8
|
|
}
|
|
|
|
# $c=0; $t=$(ls .\baza).Count; while ($t -gt $c) { $c = $(ls .\baza_utf8).Count ; $r = ($t-$c) ; echo $r; sleep 2 }
|