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 )