[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: lyleh888@yahoo.com (Lyle)
- Date: 26 Jan 2002 18:14:52 -0800
- Newsgroups: comp.sys.apple2
- Organization: http://groups.google.com/
- References: <tTL38.1884$On3.42502@localhost> <u50q2aq0phdr82@corp.supernews.com> <dd%38.1915$On3.48557@localhost>
- Xref: archiver1.google.com comp.sys.apple2:16907
tturner@ecn.ab.ca () wrote in message news:<dd%38.1915$On3.48557@localhost>...
> Scott Alfter (salfter@salfter.dyndns.org) wrote:
> : 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.
> <snip>
>
> --> I was hoping for a `pre-made' utility, but a BASIC proggy like
> the one you so kindly noted, is admittedly EZ 2 do. However,
> many of the diskettes in question, have the file in sub-directories
> and if I read your comments and the BASIC syntax you noted, correctly;
> this will not do the trick for me. I'll try it, though. Maybe I can
> modify it and run it from within the sub-directory. Again, thanks.
>
> I'll still keep looking for other approaches, in the mean time...
It can be done this way using ProSel:::
To get a text file of a "catalog" of a ProDos disk you can use the
"Information Desk" module of either the 8-bit or 16-bit versions of
ProSel. It will get files from all the sub-directories, too. ProSel
saves the text file to the <boot> disk in the form (CAT.APPLEWORKS).
The file will be CAT. plus the first eleven characters of the volume
name of the disk being cataloged.
For DOS 3.3 disks, you could use the short applesoft suggestion as
explained earlier. DOS 3.3 disk don't have sub-directories, so the
applesoft program would list <all> of the files on the disk.
Then just use Copy II+ to copy the DOS 3.3 text files to a ProDos
disk, if necessary.
Lyle