Rename a file: Difference between revisions

Content added Content deleted
m (→‎{{header|Java}}: several misspellings)
No edit summary
Line 250:
fso.MoveFolder('docs', 'mydocs');
fso.MoveFolder('c:/docs', 'c:/mydocs');</lang>
 
=={{header|Liberty BASIC}}==
<lang lb>' LB has inbuilt 'name' command, but can also run batch files
 
nomainwin
 
name "input.txt" as "output.txt"
run "cmd.exe /c ren docs mydocs", HIDE
name "C:\input.txt" as "C:\output.txt"
run "cmd.exe /c ren C:\docs mydocs", HIDE
 
end</lang>
 
=={{header|Mathematica}}==