Create new folder with name of file?

I am generating about 20 files from a 3d model. I open the model let's say the name is "delorean" then I want to create a new folder with all the generated files. I'm using a watch me Do to generate the files. The watch me do will save them in whatever folder I specify ahead of time. Should I just specify new folder each time, then rename it with the file name afterwards? If so how do I get the original file name so that I can use it to rename the file. Is there an example of doing something like this somewhere?
Thanks.
This forum is great.
Dan

I am going to guess that you start off with a single file - what are you doing to generate these files? My *Get Names of Finder Items* action can get a name to use in the *New Folder* action - items passed to the New Folder action will get copied to it, so a little more detail may help in creating the workflow.
The *Dispense Items Incrementally* action can also be used to dole out the items one at a time - knowing what the workflow is doing would help with the use of this action as well.

Similar Messages

  • Create new folder with selected items

    I have a bunch of movies that I would like to place into individual folders of the same name (Without the extension name). I wanted to try and create a keyboard command to do this with the selected files, but can't manage to figure out how!
    What I did was try to create a new service command in automator, then went to keyboard shortcuts in system preferences to assign a keyboard command to it.
    I want to make something that works like control-command-n (to create new folder from selected items), only I want the items to be in individual folders of the same name.
    eg.
    Files selected such as:
    The incredibles.avi
    Cinderella.mkv
    Dogma.mp4
    each moved into individual folders labeled as:
    The Incredibles
    Cinderella
    Dogma
    Also, is there a way to change the control-command-n shortcut so it can create a new folder from a single item? It only works when there is more than one file selected.
    Thanks so much for any help!

    I am going to guess that you start off with a single file - what are you doing to generate these files? My *Get Names of Finder Items* action can get a name to use in the *New Folder* action - items passed to the New Folder action will get copied to it, so a little more detail may help in creating the workflow.
    The *Dispense Items Incrementally* action can also be used to dole out the items one at a time - knowing what the workflow is doing would help with the use of this action as well.

  • How to create new user, with same personal files, for troubleshooting?

    I cannot find this answer in "Finder Help", nor in the Community discussions thus far. What I must do to troubleshoot the spinnign beach ball: My next step: I must troubleshoot my friend's iMac running Mac O.S 10.6.8 by setting up a new user, called "Test". This I can do easily. However, what I am unsure of is this: as this "new user", actually just me as a tester, I must be able to access the same email, Word files, Desktop, photos, etc. that I used to access. How, then? Copy all into a shared folder or what? There must be a less cumbersome way. I do NOT wish to delete anything. Of course, I have justmade a perfect backup of everything on my hard drive. Please advise re my next step: sharing the "User" little house files, with myself, as the new, possilbly temporary, user. Thank you so much, anyone and everyone!

    You shouldn't do any of that for troubleshooting. The test user account should be pristine. If you copy stuff from the old account, then you also copy whatever is causing a problem.
    Just use the Accounts/Users & Groups preferences to create a second user called, "test." Make this user an admin user. Then log out of the old account and log into the new one. That's it. You can still access and use applications in the Applications folder if you need to test third-party applications.
    We could be more helpful if you explain just what you need to troubleshoot. If just the spinning beachball is your issue, then visit The XLab FAQs and read the FAQ on resolving the SBOD problem.
    If the computer is simply running slowly then read the following:
    Things You Can Do To Resolve Slow Downs
    If your computer seems to be running slower here are some things you can do:
    Start with visits to:     OS X Maintenance - MacAttorney;
                                      The X Lab: The X-FAQs;
                                      The Safe Mac » Mac Performance Guide;
                                      The Safe Mac » The myth of the dirty Mac;
                                      Mac maintenance Quick Assist.
    Boot into Safe Mode then repair your hard drive and permissions:
    Repair the Hard Drive and Permissions Pre-Lion
    Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    Repair the Hard Drive - Lion/Mountain Lion/Mavericks
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the Utilites Menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD disk icon and click on the arrow button below.
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported, then click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu. Select Restart from the Apple menu.
    Restart your computer normally and see if this has helped any. Next do some maintenance:
    For situations Disk Utility cannot handle the best third-party utility is Disk Warrior;  DW only fixes problems with the disk directory, but most disk problems are caused by directory corruption; Disk Warrior 4.x is now Intel Mac compatible.
    Note: Alsoft ships DW on a bootable DVD that will startup Macs running Snow Leopard or earlier. It cannot start Macs that came with Lion or later pre-installed, however, DW will work on those models.
    Suggestions for OS X Maintenance
    OS X performs certain maintenance functions that are scheduled to occur on a daily, weekly, or monthly period. The maintenance scripts run in the early AM only if the computer is turned on 24/7 (no sleep.) If this isn't the case, then an excellent solution is to download and install a shareware utility such as Macaroni, JAW PseudoAnacron, or Anacron that will automate the maintenance activity regardless of whether the computer is turned off or asleep.  Dependence upon third-party utilities to run the periodic maintenance scripts was significantly reduced since Tiger.  These utilities have limited or no functionality with Snow Leopard or later and should not be installed.
    OS X automatically defragments files less than 20 MBs in size, so unless you have a disk full of very large files there's little need for defragmenting the hard drive.
    Helpful Links Regarding Malware Protection
    An excellent link to read is Tom Reed's Mac Malware Guide.
    Also, visit The XLab FAQs and read Detecting and avoiding malware and spyware.
    See these Apple articles:
              Mac OS X Snow Leopard and malware detection
              OS X Lion- Protect your Mac from malware
              OS X Mountain Lion- Protect your Mac from malware
              About file quarantine in OS X
    If you require anti-virus protection I recommend using VirusBarrier Express 1.1.6 or Dr.Web Light both from the App Store. They're both free, and since they're from the App Store, they won't destabilize the system. (Thank you to Thomas Reed for these recommendations.)
    Troubleshooting Applications
    I recommend downloading a utility such as TinkerTool System, OnyX, Mavericks Cache Cleaner, or Cocktail that you can use for removing old log files and archives, clearing caches, etc. Corrupted cache, log, or temporary files can cause application or OS X crashes as well as kernel panics.
    If you have Snow Leopard or Leopard, then for similar repairs install the freeware utility Applejack.  If you cannot start up in OS X, you may be able to start in single-user mode from which you can run Applejack to do a whole set of repair and maintenance routines from the command line.  Note that AppleJack 1.5 is required for Leopard. AppleJack 1.6 is compatible with Snow Leopard. Applejack does not work with Lion and later.
    Basic Backup
    For some people Time Machine will be more than adequate. Time Machine is part of OS X. There are two components:
    1. A Time Machine preferences panel as part of System Preferences;
    2. A Time Machine application located in the Applications folder. It is
        used to manage backups and to restore backups. Time Machine
        requires a backup drive that is at least twice the capacity of the
        drive being backed up.
    Alternatively, get an external drive at least equal in size to the internal hard drive and make (and maintain) a bootable clone/backup. You can make a bootable clone using the Restore option of Disk Utility. You can also make and maintain clones with good backup software. My personal recommendations are (order is not significant):
      1. Carbon Copy Cloner
      2. Get Backup
      3. Deja Vu
      4. SuperDuper!
      5. Synk Pro
      6. Tri-Backup
    Visit The XLab FAQs and read the FAQ on backup and restore.  Also read How to Back Up and Restore Your Files. For help with using Time Machine visit Pondini's Time Machine FAQ for help with all things Time Machine.
    Referenced software can be found at MacUpdate.
    Additional Hints
    Be sure you have an adequate amount of RAM installed for the number of applications you run concurrently. Be sure you leave a minimum of 10% of the hard drive's capacity as free space.
    Add more RAM. If your computer has less than 2 GBs of RAM and you are using OS X Leopard or later, then you can do with more RAM. Snow Leopard and Lion work much better with 4 GBs of RAM than their system minimums. The more concurrent applications you tend to use the more RAM you should have.
    Always maintain at least 15 GBs or 10% of your hard drive's capacity as free space, whichever is greater. OS X is frequently accessing your hard drive, so providing adequate free space will keep things from slowing down.
    Check for applications that may be hogging the CPU:
    Pre-Mavericks
    Open Activity Monitor in the Utilities folder.  Select All Processes from the Processes dropdown menu.  Click twice on the CPU% column header to display in descending order.  If you find a process using a large amount of CPU time (>=70,) then select the process and click on the Quit icon in the toolbar.  Click on the Force Quit button to kill the process.  See if that helps.  Be sure to note the name of the runaway process so you can track down the cause of the problem.
    Mavericks and later
    Open Activity Monitor in the Utilities folder.  Select All Processes from the View menu.  Click on the CPU tab in the toolbar. Click twice on the CPU% column header to display in descending order.  If you find a process using a large amount of CPU time (>=70,) then select the process and click on the Quit icon in the toolbar.  Click on the Force Quit button to kill the process.  See if that helps.  Be sure to note the name of the runaway process so you can track down the cause of the problem.
    Often this problem occurs because of a corrupted cache or preferences file or an attempt to write to a corrupted log file.

  • How Create New Folder in KM with Name having Special Character

    Hi,
    How to create new Folder in KM with name having special character in it.
    Right now its not allowing me to create folder when i have Colon( as one of the character in name of the folder.
    Is there a way to change this validate?
    Any help is appriciated.
    Thanks

    Hi DK,
    I'm not sure about special chars such as ":" but ifyou need to have your folders displaying special language chars (like german chars), have a look into the below link.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30deb229-d570-2910-4aaf-8858e0660f05
    Hope that helps.
    Ray

  • Create folder with name Client150412n

    Hi,
    I'm new to ApplesScripting. I've found this script that I'd like to change:
    --This script will make a new folder on the desktop with current date and dialog box
    --format the date to 2010-11-19
    tell (current date) to get day & (it's month as integer) & (it's year as integer)
    set TheDateFormat to the result as text
    -- asks for folder name with date as default answer
    set TheFolderName to text returned of (display dialog "Name the folder" default answer TheDateFormat)
    --make folder with date & user entered text
    tell application "Finder"
      make new folder with properties {name:TheFolderName}
    end tell
    The desired changes:
    - Date format should be: 150412 + a letter (a, b, c) if the folder to be created already exists.
    - Place the cursor at the start of name dialog, no selection active.
    - The new folders should be created in /Users/Hans/Dropbox/Jobs/
    Thanks,
    Hans
    Another question is related to execution of the script:
    - How can I start the script easily with a shortcut key or a Dock icon?
    - Is it possible to select client name from a plain text file containing client names in separate lines?
    - Is it possible to have zip files automatically unzipped to subfolder names with the zip package name?
    - Regarding the Dock icon I could even imagine that I drag a zip or other file from an email or the Desktop to the icon and that I only have to type the clients name to have the file moved to a new folder.

    save script as an application bundle.  Drag app to dock.
    Set short-cut key to app.
    AppleScript   Learn AppleScript: The Comprehensive Guide to Scripting and Automation on Mac OS X, Third Edition the book
    AppleScript Language Guide pdf download the pdf file

  • Files removed from folders, added into a "new folder with items"

    Just found files missing from document folders in multiple places, all appear to have been moved to a single folder called "new folder with items" under my user folder. Folder structure all in tact - just files all (or rather nearly all) moved.
    I'm restoring from back up now but ***?! had this mac for a year with no issues until now. No major tinkering done on the mac to have caused such a dramatic issue.

    If the directory name were random (most likely not even readable), that would mean the file system is corrupted and in need to be repaired ASAP, but as the name is in plain english it seems it was assigned programmatically.
    As most Unix derivatives, Mac OS X has a program called fsck.
    Each time a disk is "mounted" fsck checks if the file system is in a consistent state. If "dangling" files are found, they are collected in a special directory called "lost+found".
    Apple could have changed fsck to create a directory "new folder with items" instead of "lost+found", but I think this is unlikely.
    Perhaps someone more familiar with fsck could confirm, but in the meantime I would not rule out other theories.
    P.S.
    The files could still have been selected from the "All my files" category on the sidebar which looks like "flat" directory as far as the finder is concerned.

  • How to create new user with more than one default folder

    hi
    A new user created in OCS has only one default folder(Inbox).
    I want to create new user with customized default folder.
    for example:
    a new user has more than one default folder(Inbox,Outbox,Draft,Dustbin...)
    And also I want to automaticly enable the functions:
    When sending messages, place a copy in Outbox
    Keep message drafts in Draft
    Move deleted messages to Dustbin
    who know that?
    thanks

    The same reason that Apple and 3rd Party vendors put multi-size templates in one file I expect. I am trying to construct an in-house standard template for use in our company, and it is easier to manage if there is only one file to send to people rather than many - both initially and for subsequent edits / updates to the template.
    Of course it would be possible to create several templates (one for each size). But since it is clear that templates can be combined, it appears sensible to do this - unless the doing of it is horridly complicated

  • Error -43  when try playback on win7 64bits over the network QT that recide MacPro  osx 10.5 however i can play with VLC player, This happend when the QT is inside a Folder with name longer 8 chars other files has no problem with long names just the QT

    error -43  when try playback on win7 64bits over the network QT that recide MacPro  osx 10.5 however i can play with VLC player, This happend when the QT is inside a Folder with name longer 8 chars other files has no problem with long names just the QT  nfs sharing

    Never mind, I already found the solution myself.
    What I did wrong was:
    - not copying the master image to the nbi folder
    - selecting the netinstall-restore.dmg image as source to copy to my HD.
    The thing is, when you create a netinstall image for 10.5, the image itself is already included in the netinstall image so you don't have to do anything else.
    With the 10.4 image however, you also have to copy the master image to the NetBootSP0 directory.
    In the *.nbi folder contains an netinstall-restore.dmg file. But that is only to boot you to netrestore, it's not the image itself.
    Other alternative is to copy the images to another folder that you share with AFP and adjust the configuration of netrestore like described in this manual:
    http://www.shellharbourd.det.nsw.edu.au/pdf/misc/osxrestoringnet.pdf
    This manual was also how I figured out that I forgot to copy the image to the NetBootSP0 folder.

  • RQ: Receive files in folder with name of the sende...

    Hello,
    I don't know is I'm on the right place and I don't know is there same request, so I apologize if it exist...
    Please, make option the received files to be saved in folder with the name of the sender. For example: my friend with skype name XYZ send me a file 'foo.bar' that will be saved in \My Documents\Skype_save (I changed the default dir); another friend with name XXY send me file 'foo1.bar' and again it will be in \My Documents\Skype_save, but when there are many files it is difficult to sort them and know whose files sended by who... So the good choise is if the files are saved in folder with name XYZ, XXY etc... Example:
    \Skype_save\XYZ\foo.bar
    \Skype_save\XXY\foo1.bar
    I'm sorry for my bad english, it's not my native language. I hope you can understand what I mean with this folders

    There is no automatic option in Skype that can do what you are trying to accomplish. However, you can in advance create save folders named as your contacts and and each time you receive a file, to save the file in the appropriate folder.
    For this to function, you have to set the option in Tools -> Options -> IM settings -> Show advanced options to “Choose a folder where to save the file every time”.

  • Can't create new folder in home folder when saving files

    In gnome, when I want to save any file in my home folder, and I want to create a new folder in my own home. The new folder appeares for several minutes and then disappears.
    If I create new folder in other directory. There is no such problem.
    Also I can create new folder in my own home directory in nautilus or by mkdir.
    any one can help me.....
    Thanks very much....

    I think either way should work OK - it's less of a security risk to use a standard account for "everything", including web browsing, but I confess I don't myself do this. You would again have to authenticate with an admin username/password if you do download and install from the standard account.
    Whichever way you do it, this article may be relevant:
    *About file quarantine in Mac OS X v10.5 and v10.6*
    http://support.apple.com/kb/HT3662
    It includes the following:
    If you have multiple user accounts on your Mac, the user account that downloaded the file is the only user account that can remove the quarantine attribute to the file. All other user accounts can open the quarantine file, but they will be presented with the quarantine dialog box asking "Are you sure you want to open it?" every time they open the file.
    --------------------

  • Can't create new folder on an external hard drive, and how to transfer files?

    Hello everyone,
    the non-English speaking videographer I translate for is having problems operating his Premiere CS5 for Mac from an external hard drive. He cannot create new folder on the external hard drive (the "New Folder" button is grayed-out when tries to export media onto the external hard drive) and when he simply tries to create new folder, the "new folder" option isn't available.
    He suspects it's because the hard drive was formatted for PC.
    Questions:
    - should PC-formatting cause that problem?
    - what's the proper way to transfer media files from PC-formatted external hard drive to the internal hard drive on Mac?
    Would appreciate your advice.
    Dimitri Vorontzov

    He is right on the money
    Now, for the sad or FAT part. You need to format the drive as FAT32 to make it work both on PC and MAC but, and that is a big BUT, the max file size of any given file will be 4GB. I haven't treid other formats yet, like the journaled MAC OS extended, but I don't think that would work. We transfer our files through or own gigabit network so I never had to try it, other than FAT32 formatted SDHC cards.

  • Something has gone wrong with my external hard drive after my macbook battery went off.. now i cannot paste or create new folder. Does anyone know how to fix this?

    something has gone wrong with my external hard drive after my macbook battery went off.. now i cannot paste or create new folder. Does anyone know how to fix this?

    Bus powered external drive?
    Backups?
    Does Disk Utility can see and repair the drive or not?
    Also try here in future:  MacBook Pro

  • How to create a folder with date each day?

    I've not used Automator, just once to "create" a workflow to create a new folder with a name; but what I want is this:
    Each morning at 12:01 am, a new folder to be created with the correct date as the name of the folder.
    So for tomorrow, Sunday 23 Nov 2008 at 12:01, I'd suddenly have a folder on my Hard Drive that would have the date like 23 Nov 2008 or 11/23/2008 or 23-11-2008 or similar.
    Then at the end of a week I'd have 7 of these; - but I can manually trash them-- I want to create these on my HD since I backup via SuperDuper! each morning (automatically) at 3:35 am (incremental backup to an external La Cie HD) and I want to know if was done, so by having a folder with the date on it I can open the external HD and if I see that that folder with the recent date is there, then I'm confident the BackUp was run.
    I have been able to create a workflow to create a folder in Automator, but not sure how to:
    1. Have the folder created automatically each day at 12:01
    2. How to have the folder label be the date
    Thanks for any comments or certainly any other work-around or other way to do this or similar.
    Regards, Steve

    Open the AppleScript Editor. Copy the following into it:
    set dt to date string of (current date)
    set mth to word 2 of dt
    set dy to word 3 of dt
    set yr to word 4 of dt
    set dtt to mth & " " & dy & " " & yr
    tell application "Finder"
    make new folder at alias "Macintosh HD:Users:username:Desktop:" with properties {name:dtt}
    end tell
    Amend the path with your Hard Disk name and username. Save as an application to anywhere suitable.
    In iCal, set up an event with a daily repeat and an alarm at the time you want it: under 'Alarm' choose 'Open file': then in the next menu which will appear change from 'iCal' to 'Other' and navigate to your script. Enter the date and time.
    Your folder will be created as required: iCal does not need to be running. This script gives the folder name as, for example, 'November 22 2008', but it's easy to amend the script if you want something a bit different - for example:
    property zro : ""
    set yr to year of (current date) as string
    set dy to day of (current date)
    set mt to month of (current date)
    set dyy to dy as string
    set nmm to the number of items in dyy
    if nmm is 1 then
    set zro to 0
    end if
    if mt is January then
    set mth to "01"
    else if mt is February then
    set mth to "02"
    else if mt is March then
    set mth to "03"
    else if mt is April then
    set mth to "04"
    else if mt is May then
    set mth to "05"
    else if mt is June then
    set mth to "06"
    else if mt is July then
    set mth to "07"
    else if mt is August then
    set mth to "08"
    else if mt is September then
    set mth to "09"
    else if mt is October then
    set mth to "10"
    else if mt is November then
    set mth to "11"
    else if mt is December then
    set mth to "12"
    end if
    set dtt to mth & "-" & zro & dy & "-" & yr as string
    tell application "Finder"
    make new folder at alias "iBook HD:Users:roger:Desktop:" with properties {name:dtt}
    end tell
    This gives the folder name as, for example, 11-22-2008. (The days will have leading zeros, if you don't want these just remove the references to 'zro'.)

  • Apple Script won't create new folder

    Hi all,
    First of all, let me explain that in no particular way I am any good with applescript. I find it confusing at the best of times. I've got a bit of code that will check to see if a new folder is created in a specific location. If a new folder is created, then it will copy the name of the folder and create a new folder with the same name in a different place. The reason for this is that I separate my file types (I'm a photographer) and I keep my RAW files in one folder, my PSD files in another, my JPEGs in another and so on. The current code I have worked up until I installed Yosemite as well as Server on my mac mini. Here's the code:
    on adding folder items to this_folder after receiving added_items
         set p to POSIX file "/Volumes/Projects/1. Raw"
         try
              tell application "Finder"
                   repeat with item_ in added_items
                        if kind of item_ is "Folder" then --if its a folder then make another in Ra
                             make new folder at p with properties {name:item_}
                        end if
                   end repeat
              end tell
         on error
              display dialog "Error occurred"
              return
         end try
    end adding folder items to
    The action is set to the JPEG folder, where an application automatically adds a folder (for this example, I'll use "z. test").
    z. Test is detected in the JPEG folder, and then the folder is replicated across to the other separating folders ready for when any new files are added. Trouble is, the error occurred dialog box shows up. I have the appropriate permissions for the hard drives that the folders reside on, and are replicated to the subfolders too.
    Is there anyway of finding out what the error is that's occurring? Or am I missing something since upgrading to Yosemite/Server? Any help would be most appreciated!
    Ian
    Th

    Hi,
    You can't rename an item with an object (the item_  is an object of type alias), use the name of item_
    To know the error, use the parameter in on error block.
    Try this :
    on adding folder items to this_folder after receiving added_items
        try
            set p to "/Volumes/Projects/1. Raw" as POSIX file as alias
            tell application "Finder"
                repeat with item_ in added_items
                    if kind of item_ is "Folder" then --if its a folder then make another in Ra
                        set tName to name of item_
                        make new folder at p with properties {name:tName}
                    end if
                end repeat
            end tell
        on error err
            activate
            display dialog "Error occurred : " & err
        end try
    end adding folder items to

  • How to create a folder (with subfolders) with Applescript

    Good afternoon,
    Filemaker has the ability to ake use of AppleScript.
    From within Filemaker I want to create a new folder (with the name of a FileMaker field) that holds 6 subfolders.
    I am a complete noob where it comes to Applescript.
    This is my script so far:
    tell application "FileMaker Pro Advanced"
    set folder_name to cell "FolderName" of current record
    end tell
    tell application "Finder"
         activate
         make new folder at folder "Desktop" of folder "dick" of folder "Users" of startup disk with properties {name:folder_name}
    end tell
    tell application "Finder"
         activate
            make new folder at folder {name:folder_name} of folder "Desktop" of folder "dick" of folder "Users" of startup disk with properties {name:"subfolder"}
    end tell
    My problem is: the creation of "Subfolder1"
    What is my mistake there?
    Help is much appreciated
    Dick
    Ps: I need to make 6 subfolders there

    When you crate a new folder you can define various properties, but when refering to the folder just use the name, for example:
    make new folder at folder folder_name of folder "Desktop" of folder "dick" of folder "Users" of startup disk with properties {name:"subfolder"}
    Note that the result returned from making a new folder is a reference to that folder, so you can also do something like:
    tell application "Finder"
      set newFolder to (make new folder at folder "Desktop" of folder "dick" of folder "Users" of startup disk with properties {name:folder_name})
      make new folder at newFolder with properties {name:"subfolder"}
    end tell

Maybe you are looking for