PickDir v1.3

10 views
Skip to first unread message

Carlo Hogeveen

unread,
Nov 15, 2025, 8:47:03 AM11/15/25
to sem...@googlegroups.com

https://ecarlo.nl/tse/ToolsAndExtensions.html#PickDir

Changes were only made to the Windows functionality:

Fixed: Is now actually backwards compatible with TSE v4.

Removed Semware's NextDiskConnection() code altogether, because AFAIK it did not find unlettered drives, it did not find USB-sticks,
and it retrieved less info than the new code does.

Now for all drives shows their drive type, file system type and volume name (if they have one).
Showing the file system type is completely new.
For example:
+d: [removable fat32 MyUsbStickName]

Carlo



Knud van Eeden

unread,
Nov 15, 2025, 9:45:22 AM11/15/25
to TSE Pro Support, Knud van Eeden
PROC Main()
 string drivestr[_MAXPATH_]
 drivestr = ""
 CreateTempBuffer()
 while NextDiskConnection(drivestr, _INCLUDE_REMOVEABLE_DRIVES_ )
  AddLine(drivestr)
 endwhile
END

FYIO

It definitely finds also the USB sticks if adding only its parameter _INCLUDE_REMOVEABLE_DRIVES_
to NextDiskConnection().

Note: Only this tiny change repaired also PickDir version 1.1. already.

with friendly greetings 
Knud van Eeden 



--

---
You received this message because you are subscribed to the Google Groups "SemWare TSE Pro text editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to semware+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/semware/000a01dc5636%2451b52140%24f51f63c0%24%40ecarlo.nl.

knud van eeden

unread,
Nov 15, 2025, 2:29:09 PM11/15/25
to TSE Pro Support
FYIO:

PROC Main()
 string drivestr[_MAXPATH_]
 drivestr = ""
 CreateTempBuffer()
 while NextDiskConnection(drivestr, _INCLUDE_REMOVEABLE_DRIVES_ )
  AddLine(drivestr)
 endwhile
END

===

Running the above TSE program gives here as output, so 12 drives.

C: [fixed]  
D: [fixed]  Elements
E: [fixed]  My Passport
F: [floppy] 
G: [fixed]  KINGSTON 1 TERABYTE
H: [fixed]  My Passport
I: [floppy] 
J: [floppy] 
K: [CDROM]  
L: [CDROM]  DTL+G3
U: [CDROM]  
Z: [fixed]  Elements

===

Running PickDir v1.3.1 gives here, so 10 drives.

+ c: [fixed ntfs]
+ d: [fixed ntfs Elements]
+ e: [fixed ntfs My Passport]
+ f: [removable ntfs KINGSTON 16]
+ g: [fixed ntfs KINGSTON 1 TERABYTE]
+ h: [fixed ntfs My Passport]
+ i: [removable ntfs]
+ j: [removable ntfs]
+ l: [cdrom cdfs DTL+G3]
+ z: [fixed ntfs Elements]


Thus TSE native NextDiskConnection() command detects more drives (=CD-ROM 0 drive K and CD-ROM 2 drive U) than PickDir v1.3.1
(see on the right the native TSE output, on the left the PickDir v1.3.1

with friendly greetings
Knud van Eeden

Inline image

Result of MicroSoft Windows 'Disk Management'

Inline image

knud van eeden

unread,
Nov 15, 2025, 2:33:52 PM11/15/25
to TSE Pro Support
FYIO:

If I change thus NextDiskConnection() in old PickDir v1.1
it gives the result with 12 drives also:

Inline image


--

---
You received this message because you are subscribed to the Google Groups "SemWare TSE Pro text editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to semware+u...@googlegroups.com.
To view this discussion visit

knud van eeden

unread,
Nov 15, 2025, 3:01:07 PM11/15/25
to TSE Pro Support
FYIO:

Here drive L: is shown as a CDROM drive,
actually it is not really a CDROM drive but a
removable USB stick, but a special one.
So not a real CDROM thus.

But the missing K: and U: drives are thus
assumed real CDROM drives.

Here U: is a real CD-ROM drive where you can put
disks in thus.

It shows that PickDir v1.3.1 DOES detect the U:
CDROM drive but ONLY after there is a CD-ROM disk
put inside the CDROM drive.

Conclusion: 

NextDiskConnection() ALWAYS detects the CD-ROM drives, whether a disk is inside the CD-ROM drive or not.

PickDir v1.3.1 ONLY detects the CD-ROM drive when there is a disk inside the CD-ROM drive(s).
So not really an issue.

See screenshot:

Inline image

versus 

Inline image

Reply all
Reply to author
Forward
0 new messages