GET-IT: TEAMS DAY | 1-Day Free Virtual Conference all about Teams. Here on Petri.com - 8/12/20 GET-IT: TEAMS DAY - 8/12/20

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
  • Avatar
    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.