Re: use a drives guid instead of its letter - where is the drive root ?
"R.Wieser" <[email protected]>
| Newsgroups | alt.comp.os.windows-xp,alt.windows7.general |
|---|---|
| Organization | A noiseless patient Spider |
| Message-ID | <[email protected]> |
Zaidy036,
> This is what I use on Win 10 where xxxxx is the assigned name:
>
> FOR /f %%D IN ('WMIC VOLUME GET DRIVELETTER^, LABEL ^| FIND "xxxxx"') DO
> SET "_HD=%%D"
Thank you.
Regards,
Rudy Wieser