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


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

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

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

Show all headers | View raw


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?

I thought of using
Screensave"TimeLastRun"
but then I would have to run the spritefile and look at both the date 
and the time on the iconbar. Is there a simple way of saving the 
date/time as a filename as a one-liner in a Run file?


-- 

Cheers
Roger
I'm a mitochondriac

Back to comp.sys.acorn.programmer | Previous | NextNext 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