Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

OMShell deleteFile

OMShell deleteFile

Hi,
I can read or write fie OMShell with below syntax w/o error.

readFile("c:/loop/test.txt");
writeFile("c:/loop/test.txt");

But, I want to delete file with below command,

deleteFile("c:/loop/test.txt");

file  does not deleted.

Do you know why?
Thnaks

Oki



Re: OMShell deleteFile

This is a bug. I added a ticket about it and we'll fix it:
https://trac.openmodelica.org/OpenModelica/ticket/3269

There are 0 guests and 0 other users also viewing this topic