#1
|
||||
|
||||
calling an HTML file from a mapped drive
I am trying to call an HTML file from a mapped drive.
The drive name is //helpfiles/files I mapped it as drive x: If I use the command (OLI::SD-DISPLAY-URL "x:/custom_help.htm") It will open the HTML file. If I use the drive mapping (OLI::SD-DISPLAY-URL "//helpfiles/files/custom_help.htm") It does not open the file. What is the proper syntax for using the drive mapping? Thanks
__________________
Tom Kirkman Creo Elements/Direct 20.1 Dell Precision 3581 https://www.o-i.com |
#2
|
||||
|
||||
Re: calling an HTML file from a mapped drive
This is my work around
Code:
(sd-define-available-command "All" "O-I Commands" "ToolBox Help" :action "(OLI::SD-DISPLAY-URL (format nil \"~A/help/custom_help.htm" (oli:sd-sys-getenv \"SDCORPCUSTOMIZEDIR\")))" :description "ToolBox Help" :commandTitle "Toolbox_Help" :image "All/O-I_Commands/Toolbox_help" :ui-behavior :default) Thanks Tom
__________________
Tom Kirkman Creo Elements/Direct 20.1 Dell Precision 3581 https://www.o-i.com |
#3
|
||||
|
||||
Re: calling an HTML file from a mapped drive
Quote:
I would like to see the "net use" output of a DOS shell for the mapped X drive.
__________________
|
#4
|
||||
|
||||
Re: calling an HTML file from a mapped drive
what's the value of SDCORPCUSTOMIZEDIR
and what's the trace output of sd-display-url? (in case it works, in case it's not working, in case of your workarround)
__________________
|
#5
|
||||
|
||||
Re: calling an HTML file from a mapped drive
Wolfgang
SDCORPCUSTOMIZEDIR is the enviromental variable set in windows and is the location of our corporate customization directory located in another part of the country. /help is a subdirectory in the customization directory. the custom_help.htm is the file I want to display. This works very well. Thanks Tom
__________________
Tom Kirkman Creo Elements/Direct 20.1 Dell Precision 3581 https://www.o-i.com |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | Search this Thread |
Display Modes | Rate This Thread |
|
|