Rename a file: Difference between revisions

Content added Content deleted
m (re-order)
(→‎{{header|TXR}}: Close string literal.)
Line 1,042: Line 1,042:
<lang txr>@(do (rename-path "input.txt" "output.txt")
<lang txr>@(do (rename-path "input.txt" "output.txt")
;; Windows (MinGW based port)
;; Windows (MinGW based port)
(rename-path "C:\\input.txt "C:\\output.txt")
(rename-path "C:\\input.txt" "C:\\output.txt")
;; Unix; Windows (Cygwin port)
;; Unix; Windows (Cygwin port)
(rename-path "/input.txt" "/output.txt"))</lang>
(rename-path "/input.txt" "/output.txt"))</lang>