- Linux - haladóknak
- Microsoft Excel topic
- ArchiCAD és Artlantis topik
- ASUS routerek
- Mindenki AI-t akar, már 2025-re is eladták a HBM chipeket
- Telekom otthoni szolgáltatások (TV, internet, telefon)
- Célkeresztben az OnlyFans, amiért pornót nézhetnek a gyerekek
- Az iPadOS-re írt appokra is díjat vet ki az Apple
- A legtöbb amerikai szerint a TikTok egy őket befolyásoló eszköz
- Vodafone otthoni szolgáltatások (TV, internet, telefon)
Új hozzászólás Aktív témák
-
Geripapa
aktív tag
válasz RedHarlow #1101 üzenetére
@echo off
setlocal enableDelayedExpansion
for /r "%cd%" %%i in (*.*) do (
if not %%~nxi == "unc.txt" rm %%~nxi
)
echo Kész!
pauseendlocal
Eddig jutottam. a "unc.txt" helyére valami más kell de nem tudtam rájönni hogy mi. annyira én sem vagyok penge....De innen talán már meg tudod oldani.Segítségkéréshez: NSA320+FFP; Raspberry Pi2 Openelec/Kodi ;
-
include777
aktív tag
válasz RedHarlow #1055 üzenetére
Szia!
Powershellel:
$sourcePath = "C:\originalfiles\"
$destinationPath = "C:\convertfiles\"
if (!(Test-Path $destinationPath))
{
New-Item -ItemType Directory -Path $destinationPath
}
Get-ChildItem -Path $sourcePath -File | ForEach-Object {
Write-Host "Converting $_"
$content = Get-Content $_.FullName
Set-content (Join-Path -Path $destinationPath -ChildPath $_) -Encoding Ascii -Value $content
}keep calm and learn powershell