Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.acorn.programmer > #638

Re: A one-liner to save (any)file with the date as filename

From Roger Darlington <rogerarm@freeuk.com>
Newsgroups comp.sys.acorn.programmer
Subject Re: A one-liner to save (any)file with the date as filename
Date 2011-08-16 08:23 +0100
Organization home
Message-ID <32f28b0352.rogerarm@rogerarm.freeuk.com> (permalink)
References <d2b97e0152.rogerarm@rogerarm.freeuk.com>

Show all headers | View raw


On 12 Aug 2011, Roger Darlington  wrote:

> I want a simple one-liner to insert in the run-file of FTPc that will
> save a file (any file, one of zero length) that has the date and time
> as the filename of that file.

> This is just a simple way of showing me when I last ran FTPc.
> I can look inside the FTPc app and look at the filename and see when I
> last ran it.

> Any ideas?


Many thanks to all respondents. After taking on board a lot of what 
was said, I finally settled on;

Create <FTPc$Dir>.TimeLastRun 0
SetType <FTPc$Dir>.TimeLastRun &123

Which puts the file at the top of the directory listing, so's I can 
easily find it :-)

And it gets over-written each time.


-- 

Cheers
Roger
Live each tomorrow as if there were no today

Back to comp.sys.acorn.programmer | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

A one-liner to save (any)file with the date as filename Roger Darlington <rogerarm@freeuk.com> - 2011-08-12 08:46 +0100
  Re: A one-liner to save (any)file with the date as filename "John Williams (News)" <UCEbin@tiscali.co.uk> - 2011-08-12 10:31 +0200
    Re: A one-liner to save (any)file with the date as filename "John Williams (News)" <UCEbin@tiscali.co.uk> - 2011-08-12 10:38 +0200
  Re: A one-liner to save (any)file with the date as filename jgharston <jgh@arcade.demon.co.uk> - 2011-08-12 04:22 -0700
    Re: A one-liner to save (any)file with the date as filename Jeremy Nicoll - news posts <jn.nntp.scrap007@wingsandbeaks.org.uk> - 2011-08-13 02:51 +0100
  Re: A one-liner to save (any)file with the date as filename Martin Bazley <martin.bazley@blueyonder.co.uk> - 2011-08-12 15:02 +0100
    Re: A one-liner to save (any)file with the date as filename Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-08-13 01:03 +0200
  Re: A one-liner to save (any)file with the date as filename druck <news@druck.org.uk> - 2011-08-13 15:06 +0100
  Re: A one-liner to save (any)file with the date as filename Roger Darlington <rogerarm@freeuk.com> - 2011-08-16 08:23 +0100

csiph-web