Moving directories
Sjoerd Op 't Land
sjoerdoptland at mac.com
Sun Dec 30 07:42:00 EST 2001
Karl Becker wrote/ schreef:
> The rename function doesn't move directories on Mac and Windows. D'oh.
> What would be the easiest way to go about moving one complete folder
> to a new location? (copying or moving, either way) I suppose I
> could write up some sort of repeat loop to repeat thru a folder's
> hierarchy and file list, but I'd imagine there's an easier way...
For apple, you could execute the following AppleScript:
tell application "Finder" to move folder "HD Sjoerd:Desktop Folder:1:2" to
folder "HD Sjoerd:Desktop Folder"
with
do <script> as AppleScript
For Windows... maybe execute some shell()???
> Mucho thanks, and Happy New Year to everyone!
Regards, / Groeten,
Sjoerd
More information about the metacard
mailing list