ferework.blogg.se

Filemaker pro server documents path
Filemaker pro server documents path










filemaker pro server documents path

“cmd /c md ” & Quote ( Right (Get ( DesktopPath ) Length (Get (DesktopPath))-1) & TableName::FieldName ) Because the default root in the command line interface is the current user’s folder, any action (unless specified otherwise) works on the context of that current user’s folder. I have included a second option here for creating a folder on the current user’s desktop. To create a folder on your desktop using the FolderName field (you need to trim off the first / that appears before the path using the Get (DesktopPath) function). Sweet, right? Now, obviously you need to substitute the actual table name and field names, but you get the idea. This would create a folder to the path specified in that field (assuming you have the full path). “cmd /c md ” & Quote ( Table1::FolderName ) Select the “Calculation” option in the “Send Event” Options dialog and enter something like: “Simple”, I would say ::smug little grin:: That is all well and dandy, but Josh I want to create a folder using some data I have in FileMaker…how do I do THAT, huh, HOW DO I DO THAT? For example, to create a folder on my desktop in a folder called FM Stuff I would use a path similar to this (notice the use of quotes):Ĭmd /c md “C:/Documents and Settings/ username/Desktop/FM Stuff” If you want to create a folder inside another folder, just ad the path you want. This command will create a folder with the following path: C:/FolderName That is the lingo for a folder.įolderName – the folder name (note if you are going to use spaces in the folder name you need to enclose the whole path in Double Quotes. c – tells the cmd line to carry out the following string and then stop (in this case, “md FolderName”) I will update this posting after I have tested each applicable version.Ĭmd – this is what tells Windows what you want to do. Some versions of Windows may accept the “/” and others will only accept “\” as the folder separator.

filemaker pro server documents path

UPDATE: If you find that the folder is not being created for you, open the command line interface ( cmd.exe or Start > Run > cmd ) and enter text directly to see if it gives you a syntax error. I will give you the code, and then break down what it does, so you can tweak it to fit your needs. Being that many of the contributors on the forum that I frequent are Mac-centric, I thought I would share a simple way to create folders on a windows machine.












Filemaker pro server documents path