Re: Create a folder with today's date as the folder name
Re: Create a folder with today's date as the folder name
- Subject: Re: Create a folder with today's date as the folder name
- From: Steven Angier <email@hidden>
- Date: Sun, 10 Feb 2002 10:18:32 +1100
- Organization: Macscript.com
Our Macscript.com Library has functions that would make this much easier for you:
set theFolder to "path:to:where:you:want:the:folder:" & FormatDate({}, "yyyy/mm/dd")
CreateFolder(theFolder)
This uses the Library functions FormatDate() and CreateFolder(). FormatDate() takes a date
and an easy-to-understand formatting string as parameters. (Specifying {} as the date
instructs FormatDate() to use the current date.)
A demo of the Library with lots examples of this is available from our website:
http://www.macscript.com
Steven Angier
Macscript.com
"email@hidden" wrote:
>
Can somebody please help me with this small script step
>
>
I now need to archive the backups some how and would like a script that
>
1) creates a new folder with today's date as the folder name
>
2) copies the zip files into this folder
>
>
I am able to script to create a new folder but do not know how to tell it to
>
insert today's date !!
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.