help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Octave3.8.2 run command listing directory twice


From: JohnD
Subject: RE: Octave3.8.2 run command listing directory twice
Date: Mon, 30 Mar 2015 12:31:01 -0400

> 
> Message: 2
> Date: Mon, 30 Mar 2015 07:12:56 -0700 (PDT)
> From: ollie <address@hidden>
> To: address@hidden
> Subject: Octave3.8.2 run command listing directory twice
> Message-ID: <address@hidden>
> Content-Type: text/plain; charset=us-ascii
> 
> Hi,
> I've installed MXE-Octave 3.8.2 on Windows 7 Enterprise, 32 bit. When I
call the
> run command to run a .m file, the file cannot be found because octave
lists the
> working directory incorrectly; Command Window output is given
> here:
> 
>  >> pwd
> ans = C:\Windows\system32
> >> cd C:\Users\Oliver\Documents\SecondYearExpts\C4
> >> pwd
> ans = C:\Users\Oliver\Documents\SecondYearExpts\C4
> >> dir
> .
> ..
> C4part1.m
> C4part2.m
> C4part3.m
> C4part4.m
> 
> >> run C4part1.m
> no such file,
> 'C:\Users\Oliver\Documents\SecondYearExpts\C4\C:UsersOliverDocumentsSec
> ondYearExptsC4C4part1.m'
> error: called from 'run' in file
> C:\Octave\Octave-3.8.2\share\octave\3.8.2\m\miscellaneous\run.m near line
> 80, col umn 5
> error: called from:
> error:   C:\Octave\Octave-3.8.2\share\octave\3.8.2\m\miscellaneous\run.m
at
> line 80, column 5
> 
> 
> Any help is much appreciated.
> 
> Ollie.
> 
> 

It doesn't appear to be working correctly so bug report has been generated
[1]

For m files in the current directory, you don't have to use 'run' so try
running as 
>  C4part1


[1] https://savannah.gnu.org/bugs/index.php?44671





reply via email to

[Prev in Thread] Current Thread [Next in Thread]