Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.msdos.batch.nt    |    Fun with Windows NT batch files    |    68,980 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 67,491 of 68,980    |
|    Youri Ligotmi to All    |
|    Re: How to find a drive letter ?    |
|    01 Feb 20 19:19:31    |
      From: yl@free.fr.invalid              Le 01/02/2020 à 08:38, ythen1234234@gmail.com a écrit :       > Hi Youri       > That either means the volume with the given serial number (78EFF2DC in the       example, I assume you set this to the volume serial you're interested in), or       the powershell command did not return a row for your serial number (eg if the       disk is not available)       .       > What is the output when you run the powershell command itself? ie:       >       > powershell.exe -noprofile -command "&get-ciminstance Win32_LogicalDisk|       Select-Object DeviceId,VolumeSerialNumber|Format-Table -HideTableHeaders"       >       > This should list all your volumes and their serial numbers.       >       > regards       >              I've just realized that I did a mispelling, I wrote "echo %leter%"       instead of "echo %letter%", I made the correction and it works fine, the       letter assigned to my device is correctly displayed..       BTW I used the volume name instead of the serial number.       Thanks again for your help              YL              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca