2023年12月16日发(作者:)

硬盘盘符更改的批处理软件教程-电脑资料

下面的代码可以把d: 改为Z: ,你也可以修改这些参数达到自己的效果,。

以下为引用的内容:

@del "%temp%"

@echo on error resume next >>"%temp%"

@echo dim WshShell>>"%temp%"

@echo Set WshShell =

Object("")>>"%temp%"

@echo "diskpart">>"%temp%"

@echo

ivate"c:">>"%temp%"

@echo 30>>"%temp%"

@echo

volume=d:">>"%temp%"

@echo

ys"{ENTER}">>"%temp%"

@echo 30>>"%temp%"

@echo ys"remove">>"%temp%"

@echo

ys"{ENTER}">>"%temp%"

@echo 30>>"%temp%"

@echo

letter=z:">>"%temp%"

@echo

ys"{ENTER}">>"%temp%"

@call "%temp%"

ys"assign

ys"select

关 键 字:硬盘盘符更改的批处理

相关文章:

没有相关文章