jaclaz Posted February 26, 2016 Share Posted February 26, 2016 OT @AcheronThat seemingly assumes that there is only one volume with label "BACKUP" and that it has already a drive letter assigned.Also what is the reason for the cmd /c?I mean, wouldn't this do as well? for /f "tokens=3,4 delims= " %%i in ('echo list volume ^| diskpart^|FIND /i "Backup"') do set SVNPATH=%%i:\SVN depotjaclaz 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now