This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Linux link to a file wit relative path
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 30, 2013
02:17 PM
Linux link to a file wit relative path
Hi,
I want to create a link to a file with the option "existing file", and it's impossible to create this link, could you explain me the syntax with an example for a relative path?
Thanks
I want to create a link to a file with the option "existing file", and it's impossible to create this link, could you explain me the syntax with an example for a relative path?
Thanks
(6) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 01, 2013
02:46 AM
You can provide the relative path using IA variables, like '$USER_HOME$$\$file.txt' in the existing file field and provide the destination path with name in the corresponding fields.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 01, 2013
03:24 AM
Thanks a lot:)
But if the file doesn't exist, IA doesn't create the link, that's a new problem!
But if the file doesn't exist, IA doesn't create the link, that's a new problem!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 01, 2013
04:15 AM
Link is a shortcut to some file. So if the file doesn't exist, a link cannot be created. If you want to create the link after checking for file existence, add a 'Check if file exists' rule to the action.
Thanks.
Thanks.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 01, 2013
04:56 AM
Yes of course but on Unix you can use the commande 'ln' to create a link to a file even if the doesn't exist. Is it possible on IA?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 01, 2013
07:35 AM
For that case, you can try the Execute Command action.
Let me know if it works.
Let me know if it works.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 02, 2013
09:36 AM
Yes it works, you need to use the Execute Script Command and fill with your command without forgetting to use before the cd command to set the good directory! Thanks