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


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

Re: Testing for the presence of a file

Path csiph.com!weretis.net!feeder4.news.weretis.net!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!cleanfeed2-b.proxad.net!nnrp1-1.free.fr!not-for-mail
From "John Williams (News)" <UCEbin@tiscali.co.uk>
Subject Re: Testing for the presence of a file
Newsgroups comp.sys.acorn.programmer
Date Mon, 08 Oct 2018 14:50:30 +0100
Message-ID <5743cb2b2bUCEbin@tiscali.co.uk> (permalink)
References <70cfbe4357.graham@graham.durain.uk>
User-Agent Pluto/3.16 (RISC OS/5.25) NewsHound/v1.52-32
Organization League of Underpaid, Overworked, Undervalued, and Overwhelmed
X-Disclaimer I reserve the right to be wrong!
Reply-To UCEbin@tiscali.co.uk
Lines 15
NNTP-Posting-Date 08 Oct 2018 15:52:46 CEST
NNTP-Posting-Host 86.184.244.197
X-Trace 1539006766 news-2.free.fr 15113 86.184.244.197:57845
X-Complaints-To abuse@proxad.net
Xref csiph.com comp.sys.acorn.programmer:5552

Show key headers only | View raw


In article <70cfbe4357.graham@graham.durain.uk>,
   Graham Pickles <graham@durain.uk> wrote:

> If it exists then I wish to remove it but don't want to create an error
> if it doesn't exist!

Alternatively you could OSCLI (or WimpTask) "IfThere "+<path$>+"Wipe
"+<path$> it - that doesn't raise an error if it's not present!

John

-- 
John Williams, now back in the UK - no attachments to these addresses!
Non-RISC OS posters change user to johnrwilliams or put 'risc' in subject!
Who is John Williams? http://petit.four.free.fr/picindex/author/

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


Thread

Testing for the presence of a file Graham Pickles <graham@durain.uk> - 2018-10-08 12:35 +0100
  Re: Testing for the presence of a file Alan Adams <alan@adamshome.org.uk> - 2018-10-08 12:50 +0100
    Re: Testing for the presence of a file Bob Latham <bob@sick-of-spam.invalid> - 2018-10-08 13:17 +0100
      Re: Testing for the presence of a file Alan Adams <alan@adamshome.org.uk> - 2018-10-08 14:24 +0100
      Re: Testing for the presence of a file Bob Latham <bob@sick-of-spam.invalid> - 2018-10-08 14:22 +0100
  Re: Testing for the presence of a file "John Williams (News)" <UCEbin@tiscali.co.uk> - 2018-10-08 14:42 +0100
    Re: Testing for the presence of a file Graham Pickles <graham@durain.uk> - 2018-10-09 09:33 +0100
      Re: Testing for the presence of a file "John Williams (News)" <UCEbin@tiscali.co.uk> - 2018-10-09 23:59 +0100
  Re: Testing for the presence of a file "John Williams (News)" <UCEbin@tiscali.co.uk> - 2018-10-08 14:50 +0100
    Re: Testing for the presence of a file "John Williams (News)" <UCEbin@tiscali.co.uk> - 2018-10-08 14:53 +0100
    Re: Testing for the presence of a file jgh@mdfs.net - 2018-10-21 19:57 -0700
      Re: Testing for the presence of a file jgh@mdfs.net - 2018-10-21 20:00 -0700
  Re: Testing for the presence of a file jgh@mdfs.net - 2018-10-21 19:55 -0700
    Re: Testing for the presence of a file Matthew Phillips <spam2011m@yahoo.co.uk> - 2018-10-23 07:43 +0100

csiph-web