CoCreate User Forum  

Go Back   CoCreate User Forum > Support > Customization

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 06-13-2011, 09:34 AM
tom kirkman's Avatar
tom kirkman tom kirkman is offline
Registered User
 
Join Date: Oct 2002
Location: Perrysburg, Ohio
Posts: 397
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
Reply With Quote
  #2  
Old 06-15-2011, 09:30 AM
tom kirkman's Avatar
tom kirkman tom kirkman is offline
Registered User
 
Join Date: Oct 2002
Location: Perrysburg, Ohio
Posts: 397
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)
Is there a better way of handling this?

Thanks

Tom
__________________
Tom Kirkman

Creo Elements/Direct 20.1
Dell Precision 3581
https://www.o-i.com
Reply With Quote
  #3  
Old 09-24-2011, 01:36 PM
Wolfgang's Avatar
Wolfgang Wolfgang is offline
Registered User
 
Join Date: Nov 2002
Location: ... near Sindelfingen near Stuttgart, Germany
Posts: 754
Re: calling an HTML file from a mapped drive

Quote:
Originally Posted by tom kirkman View Post
I am trying to call an HTML file from a mapped drive.
The drive name is //helpfiles/files
I mapped it as drive x:
'helpfiles' is the machine's name and 'files' is the share name? Just because of the naming is sounds a little strange to me.

I would like to see the "net use" output of a DOS shell for the mapped X drive.
Reply With Quote
  #4  
Old 09-24-2011, 01:38 PM
Wolfgang's Avatar
Wolfgang Wolfgang is offline
Registered User
 
Join Date: Nov 2002
Location: ... near Sindelfingen near Stuttgart, Germany
Posts: 754
Re: calling an HTML file from a mapped drive

Quote:
Originally Posted by tom kirkman View Post
This is my work around
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)
Reply With Quote
  #5  
Old 09-26-2011, 05:40 AM
tom kirkman's Avatar
tom kirkman tom kirkman is offline
Registered User
 
Join Date: Oct 2002
Location: Perrysburg, Ohio
Posts: 397
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
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 05:33 AM.



Hosted by SureServer    Forums   Modeling FAQ   Macro Site   Vendor/Contractors   Software Resellers   CoCreate   Gallery   Home   Board Members   Regional User Groups  By-Laws  

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.