Hele dík ale na : mi to nefunguje, samozřejmě, že jsem to tam přidal. Zkoušel jsem to i pak i po jednom https://docs.microsoft.com/en-us/powershell/module/m... Dokonce jsem iPS C:\> Set-ExecutionPolicy 1Execution Policy ChangeThe execution policy helps protect you from scripts that you do not trust. Changing the execution policy might exposeyou to the security risks described in the about_Execution_Policies help topic athttps:/go.microsoft.com/fwlink/?LinkID=135170. Do you want to change the execution policy?[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "N"): YPS C:\> .\Users\Worker\Prográmky\renamer-files.ps1analýza %|#|_||: - Před kvantifikátorem {x,y} není nic uvedeno.At C:\Users\Worker\Prográmky\renamer-files.ps1:2 char:37+ Get-ChildItem $folder -Recurse | ? {$_ -match '%|#|_|:'} | sort psi ...+ ~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : OperationStopped: (:) [], ArgumentException + FullyQualifiedErrorId : System.ArgumentExceptionBuď to dělám špatně, nebo to na tyhle znaky nefunguje, tedy nefunguje to na soubory které Windows neumí používat kvůli těm znakům.