@BrianOxley, if you are just looking to create a file/folder link for your own use (not to establish a share), and if you already have Keyboard Maestro, then I highly recommend Copy as Markdown Link by @ComplexPoint. It’s available on the Keyboard Maestro forum. It can create links to files and folders and many other items. I use this macro many times a day.
Do you need a link to the folder, or a path to a folder?
If you’re on a Mac, you can Option-Right Click on any file or folder and “Copy as Path”. This will copy a folder path like /Users/tikiJimmy/Library/Mobile Documents/iCloud~is~workflow~my~workflows/Documents
(this is the link to Shortcuts on my iCloud drive, because Apple apparently renamed Workflow to “iCloud is workflow my workflows” when they bought Shortcuts ¯\(ツ)/¯)
A file path will look like /Users/tikiJimmy/Library/Mobile Documents/iCloud~is~workflow~my~workflows/Documents/2019Q1-Q2RemindersArchive.csv
You can then prepend file:// to this path name to make it a link. I don’t think these will work on iOS, though. You may need to do some manipulation to the first bit of the file path to jump to the folder in Files.
If you need a URL and not a file path, @sylumer’s answer is the way to go.
Thanks very much. I’m using the app Hook now and that seems to be working. I’m using a shortcut also to open the folder on iOS. Thank you very much for responding to me.