Hi all,

I recently revised my code because of problems with being unable to delete the temp file created with an editable movie. Advice from this list suggested using a shell command instead of RB's built in file handling.

On Mac OS X builds this has resolved the problem, but I am still getting an error on Windows.

    myshell=new shell
    myshellcommand="rm -f "+ TheEditFile.shellpath
    myshell.execute myshellcommand
    If myshell.errorCode=0 then
      //success
      //MsgBox "Temp file deleted successfully."
    else
MsgBox "Unable to delete temp file, error code: "+ Str (myshell.errorCode) + "."
    end if
    myshell.close
  end if

I am getting error code 1.

Any suggestions to resolve this would be appreciated.


thanks,

Rob

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to