Rename a file: Difference between revisions
Content added Content deleted
(Adding MUMPS) |
|||
Line 289: | Line 289: | ||
=={{header|MUMPS}}== |
=={{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>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> |
<p>In Cache on OpenVMS in an FILES-11 filesystem ODS-5 mode these could work:</p> |
||
<lang MUMPS> ;Local |
<lang MUMPS> ;Local |
||
S X=$ZF(-1,"rename input.txt output.txt") |
S X=$ZF(-1,"rename input.txt output.txt") |