I'd like to move (rename) a file from withing OO Basic (OO 1.1.4).

How do I best do that?

Currently I'm using

  Shell("mv '" & source & "' '" & destination & "'")

but AFAICS this doesn't let me check whether the command actually succeeded 
unless I use complicated measures such as a temporary file for storing the
return value.

-- 
Dipl.-Phys. Felix E. Klee
Email: [EMAIL PROTECTED] (work), [EMAIL PROTECTED] (home)
Tel: +49 721 8307937, Fax: +49 721 8307936
Linuxburg, Goethestr. 15A, 76135 Karlsruhe, Germany

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to