🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #3811

Re: A command ...

#3811
From: Simon Raybould
Date: Wed, 06 Jun 1990 12:33
27 lines
1136 bytes
In article <5004@zehntel.UUCP> donw@zehntel (Don White) writes:
>
>*To: myb100@csc.anu.oz
>*Subject: Re: Deleting files from within C ?
>
>*In article <2136.265c6de6@csc.anu.oz> you write:
>*>
>*>G'day y'all
>*>
>*>         I want to ask what is probably an easy question for all you great,
>*>highly informed techies out there :-) (butter 'em up and then hit 'em :-) ):
>*>
>*>      How does one delete files on (say) the RAM: disc from *within* a
>
>     I think most compilers use the unix style 'System' command.
>
>     ex.
>          char mystring[] = "delete foo";
>          System(mystring); /* execute command as if it was typed in */


Whats wrong with 

	unlink("foo");


SJR
Technical Details
Message-ID: <P?`$16+@masalla.fulcrum.bt.co.uk>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcsun!ukc!axion!masalla.fulcrum.bt.co.uk!sie
References: <5004@zehntel.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcsun!ukc!axion!masalla.fulcrum.bt.co.uk!sie
From: S.J.Raybould@fulcrum.bt.co.uk (Simon Raybould)
Newsgroups: comp.sys.amiga.tech
Subject: Re: A command ...
Message-ID: <P?`$16+@masalla.fulcrum.bt.co.uk>
Date: 6 Jun 90 12:33:49 GMT
References: <5004@zehntel.UUCP>
Organization: BT Fulcrum, Birmingham, England
Lines: 27
Disclaimer: Organisation given for identification purposes only