Hi Paul,

next to Jerome's tools, you may also like WHICHFAT and CDROM2:

https://auersoft.eu/soft/specials/

C:\>whichfat /?
WHICHFAT [x:]
Returns: generic:
        0=FAT32 kernel, 1=FAT16 kernel 2=/? found.
For 1 drive:
        0 not FAT, 1 no local drive,
        12 FAT12, 16 FAT16, 32 FAT32.
C:\>

In other words it returns errorlevel 2 after showing the help.

For example:

C:\>whichfat e:
Drive is FAT16.
C:\>echo %errorlevel%
16

C:\>whichfat f:
Drive is FAT32.
C:\>echo %errorlevel%
32

C:\>whichfat
Kernel limit: FAT32.
C:\>echo %errorlevel%
0

Also, check CDROM2UI:

https://auersoft.eu/soft/

C:\>cdrom2

Freeware CDROM toolkit with audio support - written and
conceived in 2003 by Eric Auer <eric*coli.uni-sb.de>

Usage: CDROM [EJECT|CLOSE|LOCK|UNLOCK|RESET] X:
Example: CDROM EJECT N:

Audio: CDROM [PAUSE|CONT|INFO|PLAYnn] X:
(xx is audio track number)

Ask *CDEX 2.0+ if a CD-ROM exists: CDROM N:

Errorlevels: 0 okay, 1 failed / no such drive.
Shows a list of valid drives if invalid selection.
Not all drives do all commands.

C:\>cdrom c:
C: is no CD-ROM drive, but < N: > is.

C:\>cdrom2 info n:
Command: INFO
Valid audio track numbers: 01-03
To see individual track start and end times,
please PLAY the track in question. No track
listing to screen implemented yet...
Audio play in progress. Q-Channel tells:
Track 01.00, relative position 00:00.42, absolute position 00:01.66
Done.

C:\>cdrom2 play01 n:
Command: PLAY

Playing audio track 01
Already playing? Sending PAUSE command to be safe...
Valid audio track numbers: 01-03
Playing audio from seek position 00:02.33 to 04:16.33
Audio playing should now start. Returning to DOS.
Done.

Audio then continues to play in the background, you
can use the INFO command to check the current position,
or possibly non-position, as shown above.

Of course this only works if you have the audio out
connector of your drive connected to your sound card
or mainboard, or use a drive headphone output socket.

Regards, Eric

> DRIVE.EXE - reports some info on all drives or a specific drive / disk.
> DTYPE.COM - reports a one-liner piece of information about current drive.
> INFO.EXE - reports some system information, including a section on drives.




_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to