Skip to Main Content
HCL Domino Ideas Portal

Welcome to the #dominoforever Product Ideas Forum! The place where you can submit product ideas and enhancement request. We encourage you to participate by voting on, commenting on, and creating new ideas. All new ideas will be evaluated by HCL Product Management & Engineering teams, and the next steps will be communicated. While not all submitted ideas will be executed upon, community feedback will play a key role in influencing which ideas are and when they will be implemented.

For more information and upcoming events around #dominoforever, please visit our Destination Domino Page

Status Under Consideration
Workspace Domino Designer
Categories LotusScript
Created by Guest
Created on Apr 12, 2019

Allow usage of network paths for file operations without using windows drive letters

it's never been easy to access file ressources located on a network drive from LotusScript file operations like 'open'. With Domino running as a Windows service, or on Linux we cannot use drive letters for network ressources, at least not without resorting to weird workarounds

  • Attach files
  • Guest
    Reply
    |
    Mar 18, 2022

    From checking, as file shares are common since decades, so LS should finally support true UNC to make this a multi-platform

  • Guest
    Reply
    |
    Apr 16, 2019

    "Set x = CreateObject(...)"

    nice approach indeed; similar approach here, but using the SHELL function right away as in "Shell('NET USE ...')

    Problem is: this ONLY works on Windows servers. With true UNC support there's a chance to make this a multi platform approach

  • Guest
    Reply
    |
    Apr 16, 2019

    Set x = CreateObject("WScript.Network")
    x.MapNetworkDrive "x:","\\8.8.8.8\acmeshare", False, "acme\user001","myPassWord"

    If Not Dir$("x:\", 16) = "" Then

    ...

    x.RemoveNetworkDrive "x:"

     

    Works just fine for me to get at remote file resources from script from Domino on Windows.  Well the mapping does, the RemoveNetworkDrive command stopped working years ago (MS changes?) so just run a batch file at the end of the script to remove the mapping.

     

    RemDrive = Shell("c:\killx.bat")

     

    killx.bat file content:

    IF EXIST X: NET USE X: /D /Y
    Exit

  • Guest
    Reply
    |
    Apr 16, 2019

    In comment to the first comment:

    "While I would like this, a service is not a logged in user, and therefore has no drive letters."

    That is exactly the point: I 'd love to see the ability in LotusScript to useUNC paths instead of being restricted to drive letters! Drive letters are ok for local drives if the server is a windows machine, but completely useless for network ressources

  • Guest
    Reply
    |
    Apr 12, 2019

    While I would like this, a service is not a logged in user, and therefore has no drive letters.

    However I votet for this because this one as well as the second related problem should be more visible in Desinger/Admin Help:

    How to figgure out if there is enough access right in the first place (Every now and than I write an Agent using a unc Name for file access and show that run form the client it works, and tell them to come back once it will work run from the server, too. Many come back not being able to cope with this, often enough have never heard of the backgrounds).