There is no reason to open the file, but if you do, you should close it before calling sytem exec (or open the file in read-only mode). This eliminates the error.
Of course the right way to do this is using a file dialog (as Dennis already mentioned). See attached (LabVIEW 7.0).
Message Edited by altenbach on 08-31-2005 02:46 PM