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. .NET (Core and Framework)
  4. Command prompt from windows application...

Command prompt from windows application...

Scheduled Pinned Locked Moved .NET (Core and Framework)
3 Posts 3 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
    RA UL PATEL
    wrote on last edited by
    #1

    Hello Friends.. I want to call Shell from my vb.net windows application and run the command. I have tried like "Process.Start("cmd.exe", "cd\")" But it just open command prompt.Does not run the command which passed by argument. That is "Cd\". How can i do that...???? Thanks in advance.

    A I 2 Replies Last reply
    0
    • R RA UL PATEL

      Hello Friends.. I want to call Shell from my vb.net windows application and run the command. I have tried like "Process.Start("cmd.exe", "cd\")" But it just open command prompt.Does not run the command which passed by argument. That is "Cd\". How can i do that...???? Thanks in advance.

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

      Hi, Try the documentation to get an overview of the command line syntax. http://technet.microsoft.com/en-us/library/bb490880(loband).aspx[^] Alan.

      1 Reply Last reply
      0
      • R RA UL PATEL

        Hello Friends.. I want to call Shell from my vb.net windows application and run the command. I have tried like "Process.Start("cmd.exe", "cd\")" But it just open command prompt.Does not run the command which passed by argument. That is "Cd\". How can i do that...???? Thanks in advance.

        I Offline
        I Offline
        i gr8
        wrote on last edited by
        #3

        Create a bacth file of ur command and execute it.

        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