Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

CreateFolder() and abolute path

Featured Replies

Hello,

working on Mac with FMP 11.

I'm developping a db to help creating MS Word documents we'll have to put in some specific subfolders. To create these subfolders I'm trying to use M CreateFolder().

The db will be hosted to be accessed by internet but folders (and documents) must be created on the local hd of each user.

So, I try to use absolute (instead of relative) paths in createfolder parameter but it doesn't work.

My hard disk is called 'HD 2' so i've tried :

- /hd 2/Users/pro/thedbase/thenewfolder

- /hd 2/Users/pro/thedbase/thenewfolder/

- hd 2/Users/pro/thedbase/thenewfolder

- hd 2/Users/pro/thedbase/thenewfolder/

- filemac:/hd 2/Users/pro/thedbase/thenewfolder

- filemac:/hd 2/Users/pro/thedbase/thenewfolder/

but none of them functions.

Where do i go wrong ?

thanks

  • Author

Answering to myself : the path must start with /Volumes/.

  • 2 months later...

I had a similar problem. (Still do have a problem with Windows execution).

But, this script gets the Mac Volume, Path and Filename.

post-72145-0-82843400-1329952993_thumb.j

Hope it helps.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.