21 lines
411 B
Batchfile
21 lines
411 B
Batchfile
@echo off
|
|
chcp 65001 >nul
|
|
echo =====================================
|
|
echo Iverilog 文件复制脚本
|
|
echo =====================================
|
|
echo.
|
|
|
|
REM 检查 PowerShell 是否可用
|
|
where powershell >nul 2>&1
|
|
if %errorlevel% neq 0 (
|
|
echo 错误: 未找到 PowerShell
|
|
pause
|
|
exit /b 1
|
|
)
|
|
|
|
REM 运行 PowerShell 脚本
|
|
powershell -ExecutionPolicy Bypass -File "%~dp0copy-iverilog.ps1"
|
|
|
|
echo.
|
|
pause
|