I am trying to open external files like from sharepoint or other drive using OS Script. I could do open file from my local drive but not from sharepoint or other drives etc. Anyone resolved this
Solved! Go to Solution.
What would you open and in which language ... please be more specific.
There are many possibilitys how to open different files. You can use a system() call to archive it. But be prepared that ?-Operators in URLs didn't work. If you want to archive them you need an extra handle for URLs and so on. So please be more specific on what you want to open in which program and where are your problems.
Thank you very much for the reply. From the attached drive.jpg, if I try to open any file (like excel, word or image etc) from the local drive (like C:,D:,G:,H etc) through OS Script mapkey, then it opens. But if I try to open it from network location (like B:, or Q:), then mapkey doesn't work. Same is the case if I try to open from share-point or office 365, the mapkey doesn't work.
Hope you understand my question.
I am using mapkey OS Script
I forgot to put " at the start and end of file path location. So I added like this
Any idea how to open files from Sharepoint if I know the path using mapkey OS Script
You can use the same if there is no ? Operator inside the URL. Also there are different possibilities how to call sharepoint (Browser / Explorer / Synced Space / ... )
I can use the same call also for sharepoint (without ? Operator) it looks something like this:
@SYSTEMstart "test" "https://#######/plm/Produkte/gtcra/CRADEVDOC/GT_Purge/icon/p16.png"
Open up the specified document. But you can't open it inside the browser ... because you can't use the ? Operator AFAIK. But most CAD User machines should have office installed if you work with office documents or whatever.