Rename a file: Difference between revisions
Content added Content deleted
(Adding MUMPS) |
|||
Line 289:
=={{header|MUMPS}}==
<p>ANSI MUMPS doesn't allow access to the operating system except possibly through the View command and $View function, both of which are implementation specific. Intersystems' Caché does allow you to create processes with the $ZF function, and if the permissions for the Caché process allow it you can perform operating system commands.</p>
<p>
<lang MUMPS> ;Local
S X=$ZF(-1,"rename input.txt output.txt")
|