WG> On System V Unixes there s a family of commands
WG> to interact with DOS files/media, like
WG> /usr/bin/dosls list contents of DOS diskette
WG> /usr/bin/doscp copy files to/from DOS diskette
WG> On Solaris 2.5.1 I can find only dos2unix (convert files from
WG> DOS to unix )
WG> Are there any equivalents to these dosls/doscp/... commands ?
WG> Or to put the question in another way :
WG> How can I read a DOS diskette within a ksh-Script ?
Unless you have configured your system otherwise, the volume manager
can mount your DOS floppy and use regular UNIX commands (like ls, cp,
From the commandline...
* Insert floppy
* Run 'volcheck'
* 'cd /floppy/floppy0' (Look at /floppy, you will notice that
floppy0 is just symlink to the volume name)
* Do regular UNIX commands.
* Lanch the file manager (or type dtfile from the command line)
* Go to the File|Open Floppy menu choice.
* Drag and drop until you drop.
* Run file File Manager (or type filemgr from the command line)
* Go to the File|Check For Floppy menu choice
* Drag and drop until you drop
Solaris 2.6 understands the new fancy Win95 extended FAT filesystem
(ie, long file names). Neato.
Software Engineer =
Solaris Network Sustaining = "Take only as directed. If rash develops,
Sun Microsystems, Inc. = seek the advice of a physician. Do not
Menlo Park, California, USA = induce vomiting. All rights reserved."