Batch process of turning folder into disk

Time:2021-2-21

Copy codeThe code is as follows:
@echo off
Change folder into disk by secretkeyboard QQ: 654525258
Set / P D = please enter the path of the folder you want to change to disk:
Set / P disk = please enter the disk letter you want to convert to disk:
subst %Disk%: %D%
if exist %D% goto ok
goto err
exit
:ok
@Echo command complete
start %Disk%:\
exit
:err
@Echo conversion failed, please check the path
pasue>nul

Recommended Today

Choose react or angular 2

Original addressChoosing between React vs. Angular 2The following is the translation of this article, which can be used at your choiceReactperhapsAngular2We need to help when we need to. React has become a cool representative in 2015, but angular.js has changed from a front-end framework that people love to a terrible devil (and not so terrible…) […]