NET USE Command?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • DML
    Forum Member
    • Aug 2002
    • 6

    NET USE Command?

    Is it possible to execute a NET USE command?
    I have a program installation that needs to have a drive mapped (for security licensing) for the setup to be succesful.

    Thanks
  • Lorne
    Indigo Rose Staff Member
    • Feb 2001
    • 2729

    #2
    Re: NET USE Command?

    You bet!

    In fact, it's dead simple. Just use a "File - Execute" action. Put "NET" as the file to execute, and the rest of the command in the Command line arguments field.

    So the first fields will have:

    NET

    and the second will have something like:

    USE k: \\SuperComputer21\Data

    Works like a charm. [img]/ubbthreads/images/icons/smile.gif[/img]

    To unmap our "k:" drive, you'd just call NET with:

    USE K: /DELETE
    --[[ Indigo Rose Software Developer ]]

    Comment

    • DML
      Forum Member
      • Aug 2002
      • 6

      #3
      Re: NET USE Command?

      That worked.

      Thanks

      Comment

      Working...
      X