samsung4203 当前离线
二级士官
echo off set /p vhdx=这里直接把文件拖进来 create vdisk file=D:\Win8.1_GPT_VHDX_CHILD.vhdx parent=%vhdx%复制代码
评分人数
522235677 (张三)当前离线
少校
set /p vhdx=这里直接把文件拖进来 for /f "delims=" %%a in ("%vhdx%") do create vdisk file=%%~dpna_CHILD%%~xa parent=%vhdx%复制代码
TOP
>"%temp%\create.txt"复制代码
create vdisk file=D:\Win8.1_GPT_VHD\Win8.1_GPT_VHD_CHILD_CHILD.VHDX parent=D:\Win8.1_GPT_VHD\Win8.1_GPT_VHD_CHILD.vhdx 复制代码
DAIC 当前离线
中将
>"%temp%\create.txt" echo create vdisk file=D:\Win8.1_GPT_VHD\Win8.1_GPT_VHD_CHILD_CHILD.VHDX parent=D:\Win8.1_GPT_VHD\Win8.1_GPT_VHD_CHILD.vhdx复制代码
@echo off set /p vhdx=这里直接把文件拖进来 for /f "delims=" %%a in ("%vhdx%") do create vdisk file=%%~dpna_CHILD%%~xa parent=%vhdx% > "%temp%\create.txt" diskpart /s "%temp%\create.txt" pause复制代码
@echo off set /p vhdx=这里直接把文件拖进来 for /f "delims=" %%a in ("%vhdx%") do (echo create vdisk file=%%~dpna_CHILD%%~xa parent=%vhdx%)>"%temp%\create.txt" diskpart /s "%temp%\create.txt" pause复制代码