Rename a file: Difference between revisions
Content added Content deleted
Thundergnat (talk | contribs) m (syntax highlighting fixup automation) |
No edit summary |
||
Line 462: | Line 462: | ||
Sleep</syntaxhighlight> |
Sleep</syntaxhighlight> |
||
=={{header|FutureBasic}}== |
|||
<syntaxhighlight lang="futurebasic"> |
|||
CFURLRef inputText, outputText, docs, myDocs |
|||
inputText = fn URLFileURLWithPath( @"~/Desktop/input.txt" ) |
|||
outputText = fn URLFileURLWithPath( @"~/Desktop/output.txt" ) |
|||
docs = fn URLFileURLWithPath( @"~/Desktop/docs/" ) |
|||
myDocs = fn URLFileURLWithPath( @"~/Desktop/myDocs/" ) |
|||
fn FileManagerMoveItemAtURL( inputText, outputText ) |
|||
fn FileManagerMoveItemAtURL( docs, myDocs ) |
|||
</syntaxhighlight> |
|||
=={{header|Go}}== |
=={{header|Go}}== |