Jump to content

Rename a file: Difference between revisions

m
(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>OnIn Cache on OpenVMS in an FILES-11 filesystem ODS-5 mode these could work:</p>
<lang MUMPS> ;Local
S X=$ZF(-1,"rename input.txt output.txt")
Cookies help us deliver our services. By using our services, you agree to our use of cookies.