Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Maping Network Drive

Maping Network Drive

Scheduled Pinned Locked Moved C#
csharpdatabasesysadminquestion
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    M Riaz Bashir
    wrote on last edited by
    #1

    hi Let me know, How may I use following command using C#?

    net.exe use Y: \\127.0.0.1\\DATABASE

    Thanks (Riaz)

    M 1 Reply Last reply
    0
    • M M Riaz Bashir

      hi Let me know, How may I use following command using C#?

      net.exe use Y: \\127.0.0.1\\DATABASE

      Thanks (Riaz)

      M Offline
      M Offline
      Matt U
      wrote on last edited by
      #2

      The System.Diagnostics.Process.Start(...) method seems to be what you need.

      djj55: Nice but may have a permission problem Pete O'Hanlon: He has my permission to run it.

      M R 2 Replies Last reply
      0
      • M Matt U

        The System.Diagnostics.Process.Start(...) method seems to be what you need.

        djj55: Nice but may have a permission problem Pete O'Hanlon: He has my permission to run it.

        M Offline
        M Offline
        M Riaz Bashir
        wrote on last edited by
        #3

        THANK YOU

        M 1 Reply Last reply
        0
        • M M Riaz Bashir

          THANK YOU

          M Offline
          M Offline
          Mycroft Holmes
          wrote on last edited by
          #4

          It is polite to upvote the answer when accepted (helps yours and the responders reputation).

          Never underestimate the power of human stupidity RAH

          1 Reply Last reply
          0
          • M Matt U

            The System.Diagnostics.Process.Start(...) method seems to be what you need.

            djj55: Nice but may have a permission problem Pete O'Hanlon: He has my permission to run it.

            R Offline
            R Offline
            Reiss
            wrote on last edited by
            #5

            Have my 5 at least

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups