• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Create a folder with today's date as the folder name
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Create a folder with today's date as the folder name (From: "email@hidden" <email@hidden>)

  • Prev by Date: Re: Screen size on OSX (Was: Re: Ethernet Hardware Address)
  • Next by Date: Get visible of process (was Re: Remote Access status)
  • Previous by thread: Re: Create a folder with today's date as the folder name
  • Next by thread: Re: Create a folder with today's date as the folder name
  • Index(es):
    • Date
    • Thread