English Amiga Board


Go Back   English Amiga Board > Coders > Coders. System

 
 
Thread Tools
Old 28 March 2019, 22:28   #1
volvo_0ne
Registered User
 
Join Date: Mar 2015
Location: Sheffield UK
Posts: 360
Filenote?

Years (and Years) ago, I ran a BBS and came up with an idea to use AMOS & DOS to write filenotes to the files, and then read them back dynamically for output to the BBS via a door program (Kewldoors).

All that aside, I would now like to do something similar

BUT

How the heck do I read the filenotes back from the files?

The C:filenote command only seems to write a filenote

What am I missing??

TIA
V1
volvo_0ne is offline  
Old 29 March 2019, 00:01   #2
Geijer
Oldtimer
 
Geijer's Avatar
 
Join Date: Nov 2010
Location: VXO / Sweden
Posts: 153
Try
list

Code:
4.Ram Disk:T> filenote test "Testing file note"
4.Ram Disk:T> list
test                                 5 ----rw-d Idag      23:53:53
: Testing file note
1 file - 2 blocks used
4.Ram Disk:T>
Geijer is offline  
Old 29 March 2019, 23:46   #3
volvo_0ne
Registered User
 
Join Date: Mar 2015
Location: Sheffield UK
Posts: 360
Quote:
Originally Posted by Geijer View Post
Try
list

Code:
4.Ram Disk:T> filenote test "Testing file note"
4.Ram Disk:T> list
test                                 5 ----rw-d Idag      23:53:53
: Testing file note
1 file - 2 blocks used
4.Ram Disk:T>
Thank you
I vaguely remember now, I used something like

List >RAM:files.asc lformat %S:%C

which formatted the filename then the filenote delimited by a colon.

I then scanned the asc file to extract the info I needed.

Thanks for your help, much appreciated

Regerds
V1
volvo_0ne is offline  
Old 31 March 2019, 05:44   #4
Hewitson
Registered User
 
Hewitson's Avatar
 
Join Date: Feb 2007
Location: Melbourne, Australia
Age: 41
Posts: 3,773
I never knew filenotes even existed. Cool!
Hewitson is offline  
Old 31 March 2019, 13:49   #5
MartinW
Registered User
 
Join Date: Mar 2017
Location: Minehead / UK
Posts: 608
Quote:
Originally Posted by Hewitson View Post
Cool!
Sort of! They make a right mess of the listing you get when you do a "list" from the command line, though I'm sure there's an option to suppress them.
MartinW is offline  
Old 31 March 2019, 15:28   #6
jPV
Registered User
 
jPV's Avatar
 
Join Date: Feb 2008
Location: RNO
Posts: 1,007
Quote:
Originally Posted by Hewitson View Post
I never knew filenotes even existed. Cool!
Weird that you haven't noticed them with the list command or in DOpus etc

But yes, they're very useful, and especially with networking programs, because about all of them save the source URL of downloaded files as a file comment. Browsers save the URL, IRC clients save the user who sent a file with DCC, programs mark there if a download wasn't complete, etc. I've had to check so many times where I have got some files...
jPV is offline  
Old 03 April 2019, 06:55   #7
Hewitson
Registered User
 
Hewitson's Avatar
 
Join Date: Feb 2007
Location: Melbourne, Australia
Age: 41
Posts: 3,773
Quote:
Originally Posted by jPV View Post
Weird that you haven't noticed them with the list command or in DOpus etc
Well, I very rarely do a "list", and I hate DOpus. All my file management (even on modern computers) is done in a CLI.

Quote:
Originally Posted by jPV
But yes, they're very useful, and especially with networking programs, because about all of them save the source URL of downloaded files as a file comment. Browsers save the URL, IRC clients save the user who sent a file with DCC, programs mark there if a download wasn't complete, etc.
Sounds pretty useful. Wish I'd known about it!
Hewitson is offline  
Old 07 April 2019, 22:48   #8
kolla
Banned
 
Join Date: Nov 2007
Location: Trondheim, Norway
Posts: 1,893
Quote:
Originally Posted by Hewitson View Post
Well, I very rarely do a "list", and I hate DOpus. All my file management (even on modern computers) is done in a CLI.
Oxymoron - you cannot claim to work using CLI on amiga and then not use list
kolla is offline  
Old 08 April 2019, 17:14   #9
Hewitson
Registered User
 
Hewitson's Avatar
 
Join Date: Feb 2007
Location: Melbourne, Australia
Age: 41
Posts: 3,773
Quote:
Originally Posted by kolla View Post
Oxymoron - you cannot claim to work using CLI on amiga and then not use list
Dir is sufficient 99.9% of the time.
Hewitson is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:23.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.07488 seconds with 14 queries