Priest of the Order of the Butterfly
Posts: 813 from 2007/10/23
From: Gelsenkirchen,...
Quote:Olystany schrieb:
Quote:
BSzili wrote:
What you are looking for is not the return value, but the output of the command. The easiest way is to redirect it into a file in T: and read it for your program.
Correct I will use the output of cli command .
I can read a file , no problem , if i can put the output in a file , then i must have the output ?
By the way it's not a good style to depend on external commands for simple tasks if you also have a dedicated API.
An ARexx script should of course use diskfree.
Pegasos II G4: MorphOS 3.9, Zalman M220W · iMac G5 12,1 17", MorphOS 3.18
Power Mac G3: OSX 10.3 · PowerBook 5,8: OSX 10.5, MorphOS 3.18