Post Reply 
HP Integral PC - How to view file sizes
01-02-2017, 06:15 PM
Post: #1
HP Integral PC - How to view file sizes
I am starting to write some Basic programs on my HP Integral PC and found that I do not know how to view the sizes of files on a disc. I can view the list of file names in the PAM window, but not sure how to view the file names such that their sizes are also displayed. I have reviewed a number of HP IPC documents, but can not seem to find this information. Thanks.
-Gil
Find all posts by this user
Quote this message in a reply
01-14-2017, 12:10 AM
Post: #2
RE: HP Integral PC - How to view file sizes
Hi,

I am *very* rusty on the Integral as I haven't used mine for a couple of years.

But I recall that you can open a shell window from PAM and there you can use the Unix
ls -l
command to view the file sizes.

BTW the hpmuseum.net has lots of Integral diskette images and I have a bunch as well.

Have lots of fun with the Integral PC, its very cute.

**vp
Find all posts by this user
Quote this message in a reply
01-14-2017, 12:41 AM
Post: #3
RE: HP Integral PC - How to view file sizes
(01-02-2017 06:15 PM)hpcalcuser83 Wrote:  I am starting to write some Basic programs on my HP Integral PC and found that I do not know how to view the sizes of files on a disc. I can view the list of file names in the PAM window, but not sure how to view the file names such that their sizes are also displayed. I have reviewed a number of HP IPC documents, but can not seem to find this information. Thanks.
-Gil

Which dialect of BASIC are you working with?

Namir
Find all posts by this user
Quote this message in a reply
01-14-2017, 12:56 AM
Post: #4
RE: HP Integral PC - How to view file sizes
BTW does the command
CAT TO A$(*)

where A$ is "allocated" with ALLOCATE A$(1:100)[80]

work with your Basic?

Also as I mentioned above (but not very clearly), you may be able to use the Unix ls -l command
with EXECUTE "ls -l > /tmp/file"

Like I said, I am very rusty and these may not work with your version of HP Basic.

**vp
Find all posts by this user
Quote this message in a reply
01-14-2017, 01:01 AM
Post: #5
RE: HP Integral PC - How to view file sizes
Hi. I am using HP Technical Basic for the Integral PC. I did some homework with the manuals from the HP Computer Museum and found that they recommend for a one disk drive system that the user copy the 'l-' command file from the utilities disk onto the disk that you would like to view the file sizes. I have not tried this yet, but will soon. Thanks for the help.
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)