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

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
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 Fri, 12 Aug 2011 08:46:45 +0100
Organization home
Lines 23
Message-ID <d2b97e0152.rogerarm@rogerarm.freeuk.com> (permalink)
Injection-Info mx04.eternal-september.org; posting-host="87z67L6LsWigvG5jne1T5Q"; logging-data="19738"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19DS07PZO3dqN6BAYsFt8sAkVcru3Ug6ycr3nfVI0ASFw=="
User-Agent Messenger-Pro/6.01 (MsgServe/6.00) (RISC-OS/4.39) NewsHound/v1.50-32
X-Editor EmailEdit 6.00
Cancel-Lock sha1:v27rjlnnP3tbqa7bDwNHGq/xXIc=
Xref x330-a1.tempe.blueboxinc.net comp.sys.acorn.programmer:590

Show key headers only | 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