[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Print DIR list to ProDOS disk?
- Subject: Re: Print DIR list to ProDOS disk?
- From: salfter@salfter.dyndns.org (Scott Alfter)
- Date: Thu, 24 Jan 2002 20:02:18 -0000
- Newsgroups: comp.sys.apple2
- Organization: USS Voyager NCC-74656, Delta Quadrant
- References: <tTL38.1884$On3.42502@localhost>
- Xref: archiver1.google.com comp.sys.apple2:16829
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
In article <tTL38.1884$On3.42502@localhost>, <tturner@ecn.ab.ca> wrote:
>--> Title sez it all, really: I'm going through some diskettes for
> someone and they need to know what the file names are (obviously
> they can't read the diskettes). I can _SEE_ the listing, but I've
> not found anything off-hand that can then print this listing to
> diskette (as a TXT-file), so I can send it to them so they, too
> can see what's on those diskettes. Anyone know any 8-bit A2
> software tool that can do this? Much appreciated...
A throwaway BASIC program ought to do the job to dump a list of files on one
disk to a file on another disk:
10 PRINT CHR$(4);"OPEN LIST,S6,D1":PRINT CHR$(4);"WRITE LIST":
PRINT CHR$(4);"CATALOG,S6,D2":PRINT CHR$(4);"CLOSE LIST"
Change the slot/drive numbers as appropriate. It's also worth noting that
this will only get the root directory of the disk; BASIC.SYSTEM has nothing
like ls -lR.
_/_
/ v \ Scott Alfter (salfter@salfter.dyndns.org)
(IIGS( http://salfter.dyndns.org
\_^_/ rm -rf /bin/laden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE8UGgQVgTKos01OwkRAt+OAJ9xn70iZ7mcr6Q0tCP+iniTpZOLDQCg+KL1
7TxK/Zirpu2vs8HfZDlaers=
=mhpr
-----END PGP SIGNATURE-----