http://www.boot-land...?showtopic=6492
I will check and attach latest versions of both ddlist and ddlistW to this post.
@bilou_gateux
It seems like VERY nice , though I still have to test/understand - even minimally - how it works and which differences/advantages there are with other drivers.
about the dosdev, you might be interested in a couple of things here:
http://www.msfn.org/...opic=125992&hl=
http://www.msfn.org/...opic=126069&hl=
http://www.msfn.org/...opic=124539&hl=
particularly these:
http://www.msfn.org/...o...24539&st=22
http://www.msfn.org/...o...24539&st=24
And this newish batch ddlist.cmd:
@ECHO OFF:: ddlist.cmd - small batch by jaclaz - Release 0.1 ALPHA:: 26th December 2008:: using the features of John Newbigin's dd for windows:: [url="http://www.chrysocome.net/dd"]http://www.chrysocome.net/dd[/url]:: tested version 0.5::: [url="http://www.chrysocome.net/downloads/dd-0.5.zip"]http://www.chrysocome.net/downloads/dd-0.5.zip[/url]:: SETLOCAL ENABLEEXTENSIONSSETLOCAL ENABLEDELAYEDEXPANSIONSET FLAG=0Set /A Counter=10For /F "skip=4 tokens=*" %%A IN ('dd --list 2^>^&1') DO (SET Thisline=%%ASET Partline=!Thisline:~0,7!IF "!Partline!"=="\\.\Vol" (SET /A COunter+=1SET Volume!Counter!=!Thisline:~10,38!)IF "!Partline!"=="NT Bloc" SET FLAG=1IF !FLAG!==0 (IF "!Partline!"=="link to" SET link!Counter!=!Thisline:~19,40!IF NOT "!Partline!"=="Mounted" SET media!Counter!=!Thisline!) ELSE (IF "!Partline!"=="link to" SET tolink!Counter!=!Thisline:~19,40!)IF "!Partline!"=="Mounted" SET Letter!Counter!=!Thisline:~15,2!IF "media!Counter!"=="CD-ROM" CALL :isCDROM !Counter!IF "!Partline!"=="\\?\Dev" (SET /A Counter+=1SET drive!Counter!=!Thisline:~11,40!Set isCD=!Thisline:~11,5!IF "!isCD!"=="CdRom" CALL :isCDROM !Counter!))SET /A MaxCounter=%Counter%-1FOR /F "tokens=1,2 delims==. " %%A IN ('SET media') DO (SET %%A=%%BIf "!%%A!"=="fixed" SET %%A=Fixed If "!%%A!"=="removeable" SET %%A=RemovableIf "!%%A!"=="CD-ROM" SET %%A=CD-ROM )FOR /F "tokens=1,2,3,4,6 delims=e=k\n" %%A IN ('set drive') DO (SET Thisline=%%CSET Partline=!Thisline:~0,5!SET g%%Ae%%B=%%D,%%EIF "!Partline!"=="CdRom" SET gdrive%%B=x,xFOR /L %%F IN (10,1,%MaXcounter%) DO (IF "!tolink%%B!"=="!link%%F!" SET Line%%B=!letter%%F! !gdrive%%B! !media%%F! !tolink%%B!!TAB%%B! !volume%%F! ))ECHO Drives by drive letter:FOR /F "tokens=2 delims==" %%A IN (' SET Line ^| SORT /+8') DO ECHO %%APAUSEECHO.ECHO Drives by connection:FOR /F "tokens=2 delims==" %%A IN (' SET Line ^| SORT /+11') DO ECHO %%APAUSEGOTO :EOF:isCDROMSET tolink%1=!drive%1!SET TAB%1= GOTO :EOFExample output:
C:\VSS>ddlistDrives by drive letter:c: 0,1 Fixed HarddiskVolume1 {b0b284c3-8a33-11dd-8781-806d6172696f}d: 1,1 Fixed HarddiskVolume2 {b0b284c4-8a33-11dd-8781-806d6172696f}e: 3,1 Fixed HarddiskVolume3 {98f06d4c-9506-11dd-8147-001fc6bb76ce}f: 8,1 Fixed HarddiskVolume11 {0cb309be-d343-11dd-ab05-001fc6bb76ce}g: 3,2 Fixed HarddiskVolume4 {98f06d4d-9506-11dd-8147-001fc6bb76ce}h: 3,3 Fixed HarddiskVolume5 {98f06d4e-9506-11dd-8147-001fc6bb76ce}i: x,x CD-ROM CdRom0 {80cf88c2-8a34-11dd-813c-806d6172696f}j: 2,1 Removable Harddisk2\DP(1)0-0+5 {5d3e8800-9c1f-11dd-8148-001fc6bb76ce}k: 4,1 Removable Harddisk4\DP(1)0-0+f {80cf88c3-8a34-11dd-813c-806d6172696f}l: 5,1 Removable Harddisk5\DP(1)0-0+10 {80cf88c4-8a34-11dd-813c-806d6172696f}m: 6,1 Removable Harddisk6\DP(1)0-0+11 {80cf88c5-8a34-11dd-813c-806d6172696f}n: 7,1 Removable Harddisk7\DP(1)0-0+12 {80cf88c6-8a34-11dd-813c-806d6172696f}o: 3,4 Fixed HarddiskVolume6 {98f06d4f-9506-11dd-8147-001fc6bb76ce}Premere un tasto per continuare . . .Drives by connection:c: 0,1 Fixed HarddiskVolume1 {b0b284c3-8a33-11dd-8781-806d6172696f}d: 1,1 Fixed HarddiskVolume2 {b0b284c4-8a33-11dd-8781-806d6172696f}j: 2,1 Removable Harddisk2\DP(1)0-0+5 {5d3e8800-9c1f-11dd-8148-001fc6bb76ce}e: 3,1 Fixed HarddiskVolume3 {98f06d4c-9506-11dd-8147-001fc6bb76ce}g: 3,2 Fixed HarddiskVolume4 {98f06d4d-9506-11dd-8147-001fc6bb76ce}h: 3,3 Fixed HarddiskVolume5 {98f06d4e-9506-11dd-8147-001fc6bb76ce}o: 3,4 Fixed HarddiskVolume6 {98f06d4f-9506-11dd-8147-001fc6bb76ce}k: 4,1 Removable Harddisk4\DP(1)0-0+f {80cf88c3-8a34-11dd-813c-806d6172696f}l: 5,1 Removable Harddisk5\DP(1)0-0+10 {80cf88c4-8a34-11dd-813c-806d6172696f}m: 6,1 Removable Harddisk6\DP(1)0-0+11 {80cf88c5-8a34-11dd-813c-806d6172696f}n: 7,1 Removable Harddisk7\DP(1)0-0+12 {80cf88c6-8a34-11dd-813c-806d6172696f}f: 8,1 Fixed HarddiskVolume11 {0cb309be-d343-11dd-ab05-001fc6bb76ce}i: x,x CD-ROM CdRom0 {80cf88c2-8a34-11dd-813c-806d6172696f}Premere un tasto per continuare . . .
jaclaz