@echo off
cls
REM [Console]::OutputEncoding = [System.Text.Encoding]::Unicode
REM [Console]::InputEncoding = [System.Text.Encoding]::Unicode
REM $PSDefaultParameterValues['*:Encoding'] = 'utf8'
chcp 65001 >nul

echo 'Запуск powershell -NoProfile -ExecutionPolicy ByPass -File "l:\progs\TCMDx64\_scripts\CreateFileFormatDateTime.ps1"'
powershell -NoProfile -ExecutionPolicy ByPass -File "l:\progs\TCMDx64\_scripts\CreateFileFormatDateTime.ps1"
REM powershell -File "l:\progs\TCMDx64\_scripts\CreateFileFormatDateTime.ps1"
REM pause
timeout 3

echo 'Запуск pwsh -NoProfile -ExecutionPolicy ByPass -File "l:\progs\TCMDx64\_scripts\CreateFileFormatDateTime.ps1"'
pwsh -NoProfile -ExecutionPolicy ByPass -File "l:\progs\TCMDx64\_scripts\CreateFileFormatDateTime.ps1"
REM pause
timeout 3

echo 'Запуск powershell -NoProfile -ExecutionPolicy ByPass -File "l:\progs\TCMDx64\_scripts\CreateFileFormatDateTime1.ps1"'
powershell -NoProfile -ExecutionPolicy ByPass -File "l:\progs\TCMDx64\_scripts\CreateFileFormatDateTime1.ps1"
REM powershell -File "l:\progs\TCMDx64\_scripts\CreateFileFormatDateTime.ps1"
REM pause
timeout 3

echo 'Запуск pwsh -NoProfile -ExecutionPolicy ByPass -File "l:\progs\TCMDx64\_scripts\CreateFileFormatDateTime1.ps1"'
pwsh -NoProfile -ExecutionPolicy ByPass -File "l:\progs\TCMDx64\_scripts\CreateFileFormatDateTime1.ps1"
REM pause
timeout 3