[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: Re(2x): Calling DOS/Windows applications
- Subject: Re: Re(2x): Calling DOS/Windows applications
- From: Nathan Treadway <nathant@ONTKO.COM>
- Date: Mon, 14 Oct 1996 08:47:39 -0500
- In-Reply-To: <s261ff7f.010@mail.nbme.org> from "Richard Vernick" at Oct 14, 96 08:48:35 am
> Won't "del *.*" wait for a "Are you sure?"? You might need to pipe a 'Y'
> into it. e.g. (del *.* | echo "Y").
>
> To see that this is NOT your problem, put a blabla.tmp file there. Then
> do a "del *.tmp" and see if your result changes.
>
Good point. Under Windows 95 you'll get a separate DOS window poping up with
the prompt from DEL if this happens; you'll at least know what's going on,
but you'll have to answer the prompt before the files are deleted. Using
'echo "Y" | ' || getenv('COMSPEC') || ' /c del ...' would solve that problem
-- or just change your naming convention so that you can get away with del
*.tmp or whatever.
Nathan
----------------------------------------------------------------------------
Nathan Treadway | Ray Ontko & Co. | info@ontko.com (auto-reply server)
nathant@ontko.com | Richmond, IN | ftp.ontko.com, http://www.ontko.com/