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. Open Folder

Open Folder

Scheduled Pinned Locked Moved C#
tutorialquestion
5 Posts 2 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.
  • R Offline
    R Offline
    Rahul RK
    wrote on last edited by
    #1

    Hi , I want to open the foder. That is on a button click I want to show folder open in explorer. How to do that? Rahul Kulkarni.

    A 1 Reply Last reply
    0
    • R Rahul RK

      Hi , I want to open the foder. That is on a button click I want to show folder open in explorer. How to do that? Rahul Kulkarni.

      A Offline
      A Offline
      alexey N
      wrote on last edited by
      #2

      Maybe this article will help you ?

      My english is not so good. Please, correct my errors. Best regards, Alexey.

      R 1 Reply Last reply
      0
      • A alexey N

        Maybe this article will help you ?

        My english is not so good. Please, correct my errors. Best regards, Alexey.

        R Offline
        R Offline
        Rahul RK
        wrote on last edited by
        #3

        Thanks For your response. I want to show the folder content. Take an example, "path = c:\test\" and now normally if we want to see content of this folder We have to go through click on My Computer then c: and finally test. But i want to open test through programming in C#.Net. How to do that? Rahul Kulkarni

        A 1 Reply Last reply
        0
        • R Rahul RK

          Thanks For your response. I want to show the folder content. Take an example, "path = c:\test\" and now normally if we want to see content of this folder We have to go through click on My Computer then c: and finally test. But i want to open test through programming in C#.Net. How to do that? Rahul Kulkarni

          A Offline
          A Offline
          alexey N
          wrote on last edited by
          #4

          Try this code: System.Diagnostics.Process.Start("explorer.exe", "c:\\Test");

          My english is not so good. Please, correct my errors. Best regards, Alexey.

          R 1 Reply Last reply
          0
          • A alexey N

            Try this code: System.Diagnostics.Process.Start("explorer.exe", "c:\\Test");

            My english is not so good. Please, correct my errors. Best regards, Alexey.

            R Offline
            R Offline
            Rahul RK
            wrote on last edited by
            #5

            It works. Thanks.

            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