Register for Semperis' Hybrid Identity Protection (HIP) Conference - June 30 - July 1 Register for Semperis' Hybrid Identity Protection (HIP) Conference - June 30 - July 1

Change to drive using it volume label not drive letter

Home Forums Scripting DOS Command Shell Change to drive using it volume label not drive letter

Viewing 1 post (of 1 total)
  • Author
    Posts

  • confuseis
    Participant
    #165932

    Hi

    Id like to have a batch file that will be able to read my USB even if the drive letter has changed

    To do this I’m thinking I can set the volume label to be e.g. USB001

    Now I need to be able to change to that USB key location from within the batch file.

    kinda like cd USB001

    Anyone have a clue ?

    Thanks

    Confuseis

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

Register for the Hybrid Identity Protection (HIP) Europe Conference!

Hybrid Identity Protection (HIP) Europe 2021 - Virtual Conference

Mobile workforces, cloud applications, and digitalization are changing every aspect of the modern enterprise. And with radical transformation come new business risks. Hybrid Identity Protection (HIP) is the premier educational forum for identity-centric practitioners. At the inaugural HIP Europe, join your local IAM experts and Microsoft MVPs to learn all the latest from the Hybrid Identity world.