• 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: make a new folder within an exisitng folder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make a new folder within an exisitng folder


  • Subject: Re: make a new folder within an exisitng folder
  • From: Laine Lee <email@hidden>
  • Date: Thu, 29 Sep 2005 15:22:23 -0500
  • Thread-topic: make a new folder within an exisitng folder

On 9/29/05 11:01 AM, "Michelle Steiner" <email@hidden> wrote:

>
> On Sep 29, 2005, at 8:54 AM, Bob Cuilla wrote:
>
>> I would like to make a new folder "myFolder" within an existing
>> folder "ABC".  Can this be done?  I would prefer to have the new
>> folder actually created inside the existing folder rather than
>> first creating it and then moving it.
>
> set abc to alias ((path to startup disk as text) & "ABC")
> tell application "Finder"
>      make new folder at abc with properties {name:"my folder"}
> end tell
>
> -- Michelle

If you are using OS X, I think this may be the easiest way. (When you use
it, be sure it's only 2 lines.)

set abc to POSIX path of ((path to startup disk as Unicode text) & "ABC:my
folder")
do shell script "mkdir -p" & space & (quoted form of abc)

--
Laine Lee
email@hidden
http://lonestar.utsa.edu/llee


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: make a new folder within an exisitng folder
      • From: Michelle Steiner <email@hidden>
References: 
 >Re: make a new folder within an exisitng folder (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: Creating Nested Folders
  • Next by Date: Accessing network folders in AppleScript
  • Previous by thread: Re: make a new folder within an exisitng folder
  • Next by thread: Re: make a new folder within an exisitng folder
  • Index(es):
    • Date
    • Thread