[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Running dos command in octave (win32 version)
From: |
David Bateman |
Subject: |
Re: Running dos command in octave (win32 version) |
Date: |
Mon, 26 Jul 2004 15:16:21 +0200 |
User-agent: |
Mutt/1.4.1i |
According to Ciotti, Louis A <address@hidden> (on 07/26/04):
> I am trying to run some dos commands within octave, and I cannot seem to
> get them work. Basically I want to delete some files and run a batch
> file.
>
> To delete the files I have tried:
>
> System("del myfile.ext")
>
> Which gives:
>
> del: not found
> ans = 127
>
> What am I doing wrong?
On Windows, octave runs under Cygwin which is basically a
reimplementation of Unix under Windows. If you tried
system("rm myfile.ext")
you might have had a different result....
Cheers
David
--
David Bateman address@hidden
Motorola CRM +33 1 69 35 48 04 (Ph)
Parc Les Algorithmes, Commune de St Aubin +33 1 69 35 77 01 (Fax)
91193 Gif-Sur-Yvette FRANCE
The information contained in this communication has been classified as:
[x] General Business Information
[ ] Motorola Internal Use Only
[ ] Motorola Confidential Proprietary
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------