Jump to content

Need help "For" batch command


Recommended Posts

OT :ph34r:

@Acheron

That 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? :unsure:

for /f "tokens=3,4 delims= " %%i in ('echo list volume ^| diskpart^|FIND /i "Backup"') do set SVNPATH=%%i:\SVN depot

jaclaz

Link to comment
Share on other sites


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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...