到目前为止,这是我的代码:
@echo off
cd /d %~dp0
echo This is a batch file to convert Wii Iso Archive format to Wii Backup File System format using Wiimms wit/wwt programs provided they are installed on your pc you must edit this batch file to convert the game of your choice just edit the file paths and you'll be fine just keep the filenames the id6 tag of the game.
pause
wit copy D:/RHOP8P.wia D:/RHOP8P.wbfs -v -v -v -v
echo Conversion complete. Press any key to exit command prompt.
pause
我想做的是让id6标签“RHOP8P”是用户输入的内容
答案 0 :(得分:1)
使用SET命令:
set /p _id6=Enter an id6 tag:
wit copy D:/%_id6%.wia D:/%_id6%.wbfs -v -v -v -v
答案 1 :(得分:1)
set /p var="input please: "
echo Test: %var%
copy D:\%var%.wia D:\%via%.wbfs -v -v -v -v