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. Programmatically access Start -> Run

Programmatically access Start -> Run

Scheduled Pinned Locked Moved C#
question
29 Posts 13 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.
  • D Offline
    D Offline
    dan sh
    wrote on last edited by
    #1

    I need to access run command through code. how cn dat b done??

    Chaos, panic and disorder - my work here is done.

    L P 2 Replies Last reply
    0
    • D dan sh

      I need to access run command through code. how cn dat b done??

      Chaos, panic and disorder - my work here is done.

      L Offline
      L Offline
      Laubi
      wrote on last edited by
      #2

      Process process = new Process(); process.StartInfo.FileName = "notepad.exe"; process.Start();

      L 1 Reply Last reply
      0
      • L Laubi

        Process process = new Process(); process.StartInfo.FileName = "notepad.exe"; process.Start();

        L Offline
        L Offline
        Luc Pattyn
        wrote on last edited by
        #3

        For simple cases you can use the static overload: Process.Start("notepad.exe"); :)

        Luc Pattyn [Forum Guidelines] [My Articles]


        this months tips: - before you ask a question here, search CodeProject, then Google - the quality and detail of your question reflects on the effectiveness of the help you are likely to get - use PRE tags to preserve formatting when showing multi-line code snippets


        D 1 Reply Last reply
        0
        • D dan sh

          I need to access run command through code. how cn dat b done??

          Chaos, panic and disorder - my work here is done.

          P Offline
          P Offline
          Pete OHanlon
          wrote on last edited by
          #4

          Please don't use text speak in posts. It's really really annoying. I assume that you do have a full keyboard and that you haven't posted this from a mobile phone.

          Deja View - the feeling that you've seen this post before.

          My blog | My articles

          D 1 Reply Last reply
          0
          • P Pete OHanlon

            Please don't use text speak in posts. It's really really annoying. I assume that you do have a full keyboard and that you haven't posted this from a mobile phone.

            Deja View - the feeling that you've seen this post before.

            My blog | My articles

            D Offline
            D Offline
            dan sh
            wrote on last edited by
            #5

            hi pete it mite b annoying bt dis aint da only job i ve on dis earth. i ve a lot of other stuufs 2 do if u find it annoyin den remmeba my name n dnt access my thread again n 4 ur kind info i do ve a 2ble ||lel key boards bt i dnt wanna watse my time in hittin all da keys thanks n regards

            Chaos, panic and disorder - my work here is done.

            J A M D 4 Replies Last reply
            0
            • D dan sh

              hi pete it mite b annoying bt dis aint da only job i ve on dis earth. i ve a lot of other stuufs 2 do if u find it annoyin den remmeba my name n dnt access my thread again n 4 ur kind info i do ve a 2ble ||lel key boards bt i dnt wanna watse my time in hittin all da keys thanks n regards

              Chaos, panic and disorder - my work here is done.

              J Offline
              J Offline
              Judah Gabriel Himango
              wrote on last edited by
              #6

              Pete is right, and because you chose to disregard his message, I'll return the favor to yours in the future.

              Tech, life, family, faith: Give me a visit. I'm currently blogging about: The Lord Is So Good The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

              D 1 Reply Last reply
              0
              • L Luc Pattyn

                For simple cases you can use the static overload: Process.Start("notepad.exe"); :)

                Luc Pattyn [Forum Guidelines] [My Articles]


                this months tips: - before you ask a question here, search CodeProject, then Google - the quality and detail of your question reflects on the effectiveness of the help you are likely to get - use PRE tags to preserve formatting when showing multi-line code snippets


                D Offline
                D Offline
                dan sh
                wrote on last edited by
                #7

                hi, can u plz tell me the EXE file which is used for Run.

                Chaos, panic and disorder - my work here is done.

                N L 2 Replies Last reply
                0
                • J Judah Gabriel Himango

                  Pete is right, and because you chose to disregard his message, I'll return the favor to yours in the future.

                  Tech, life, family, faith: Give me a visit. I'm currently blogging about: The Lord Is So Good The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

                  D Offline
                  D Offline
                  dan sh
                  wrote on last edited by
                  #8

                  hi, al rite I'll w8 4 ur favour.mean while try to learn some english grammar. Thanks

                  Chaos, panic and disorder - my work here is done.

                  A P 2 Replies Last reply
                  0
                  • D dan sh

                    hi pete it mite b annoying bt dis aint da only job i ve on dis earth. i ve a lot of other stuufs 2 do if u find it annoyin den remmeba my name n dnt access my thread again n 4 ur kind info i do ve a 2ble ||lel key boards bt i dnt wanna watse my time in hittin all da keys thanks n regards

                    Chaos, panic and disorder - my work here is done.

                    A Offline
                    A Offline
                    Anthony Mushrow
                    wrote on last edited by
                    #9

                    Total characters in your message: 291 Correct spelling (mostly) : 321 Hi Pete It might be annoying but this isn’t the only job I’ve got on this earth. I’ve a lot of other stuff to do, if you find it annoying then remember my name and don’t access my thread again. And for your kind info I “do ve a 2ble ||lel” key boards but I don’t want to waste my time hitting all the keys. Thanks and regards So, 30 keys you saved. At the cost of perhaps minutes of extra reading time. So if you can't be bothered to type out your words i don't see why anybody else should be bothered to answer your questions. Also, the english langauge uses these symbols: ;,.': and many others, use them.

                    My current favourite word is: PIE! Good ol' pie, it's been a while.

                    P 1 Reply Last reply
                    0
                    • D dan sh

                      hi pete it mite b annoying bt dis aint da only job i ve on dis earth. i ve a lot of other stuufs 2 do if u find it annoyin den remmeba my name n dnt access my thread again n 4 ur kind info i do ve a 2ble ||lel key boards bt i dnt wanna watse my time in hittin all da keys thanks n regards

                      Chaos, panic and disorder - my work here is done.

                      M Offline
                      M Offline
                      mav northwind
                      wrote on last edited by
                      #10

                      Sorry, but there's only one word for this kind of behaviour here: Moron. X|

                      mav -- Black holes are the places where God divided by 0...

                      D 1 Reply Last reply
                      0
                      • D dan sh

                        hi, al rite I'll w8 4 ur favour.mean while try to learn some english grammar. Thanks

                        Chaos, panic and disorder - my work here is done.

                        A Offline
                        A Offline
                        Anthony Mushrow
                        wrote on last edited by
                        #11

                        ... wait... Did you just ask Judah to learn some English grammar?

                        My current favourite word is: PIE! Good ol' pie, it's been a while.

                        J 1 Reply Last reply
                        0
                        • D dan sh

                          hi pete it mite b annoying bt dis aint da only job i ve on dis earth. i ve a lot of other stuufs 2 do if u find it annoyin den remmeba my name n dnt access my thread again n 4 ur kind info i do ve a 2ble ||lel key boards bt i dnt wanna watse my time in hittin all da keys thanks n regards

                          Chaos, panic and disorder - my work here is done.

                          D Offline
                          D Offline
                          Dan Neely
                          wrote on last edited by
                          #12

                          I think I can speak for everyone else on the board when I say: I only try to decipher this sort of unintelligible crap for pay. My hardship rate is $100/hour, billable upfront, 10hrs minimum contract length. Time spent reading each post will be rounded up to the nearest full hour.

                          -- Help Stamp Out and Abolish Redundancy The preceding is courtesy of the Department of Unnecessarily Redundant Repetition Department.

                          D 1 Reply Last reply
                          0
                          • D dan sh

                            hi, can u plz tell me the EXE file which is used for Run.

                            Chaos, panic and disorder - my work here is done.

                            N Offline
                            N Offline
                            Not Active
                            wrote on last edited by
                            #13

                            Try format.exe c: Might not fix your problem, but it will fix ours.


                            only two letters away from being an asset

                            E 1 Reply Last reply
                            0
                            • M mav northwind

                              Sorry, but there's only one word for this kind of behaviour here: Moron. X|

                              mav -- Black holes are the places where God divided by 0...

                              D Offline
                              D Offline
                              dan sh
                              wrote on last edited by
                              #14

                              Now this one is for all of you: I dont care about english and spellings. All I concerned is about coding . If you want to fight let us go to some other website. "Leave this place for technical issues." Anyway I think this one would help you to read faster and understand as well. I was labrynth for me to type whole words but alright I will do this. And the first person who started this owes an apology I guess. Rest all is up to you.

                              Chaos, panic and disorder - my work here is done.

                              L D P J 4 Replies Last reply
                              0
                              • A Anthony Mushrow

                                ... wait... Did you just ask Judah to learn some English grammar?

                                My current favourite word is: PIE! Good ol' pie, it's been a while.

                                J Offline
                                J Offline
                                Judah Gabriel Himango
                                wrote on last edited by
                                #15

                                I needs you to learn me some grammer! lolz

                                Tech, life, family, faith: Give me a visit. I'm currently blogging about: The Lord Is So Good The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

                                1 Reply Last reply
                                0
                                • D dan sh

                                  Now this one is for all of you: I dont care about english and spellings. All I concerned is about coding . If you want to fight let us go to some other website. "Leave this place for technical issues." Anyway I think this one would help you to read faster and understand as well. I was labrynth for me to type whole words but alright I will do this. And the first person who started this owes an apology I guess. Rest all is up to you.

                                  Chaos, panic and disorder - my work here is done.

                                  L Offline
                                  L Offline
                                  leckey 0
                                  wrote on last edited by
                                  #16

                                  NO ONE owes you anything. If you want help, play by the rules.

                                  http://craptasticnation.blogspot.com/[^]

                                  1 Reply Last reply
                                  0
                                  • D dan sh

                                    hi, al rite I'll w8 4 ur favour.mean while try to learn some english grammar. Thanks

                                    Chaos, panic and disorder - my work here is done.

                                    P Offline
                                    P Offline
                                    Pete OHanlon
                                    wrote on last edited by
                                    #17

                                    I'm not sure when numbers actually entered the English language, or grammar usage. BTW - alright is one word.

                                    Deja View - the feeling that you've seen this post before.

                                    My blog | My articles

                                    1 Reply Last reply
                                    0
                                    • D dan sh

                                      Now this one is for all of you: I dont care about english and spellings. All I concerned is about coding . If you want to fight let us go to some other website. "Leave this place for technical issues." Anyway I think this one would help you to read faster and understand as well. I was labrynth for me to type whole words but alright I will do this. And the first person who started this owes an apology I guess. Rest all is up to you.

                                      Chaos, panic and disorder - my work here is done.

                                      D Offline
                                      D Offline
                                      duncanmhor
                                      wrote on last edited by
                                      #18

                                      d@nish wrote:

                                      I was labrynth for me to type whole words but alright I will do this.

                                      Frankly you made more sense when you didn't.

                                      "You're very clever, young man, very clever," said the old lady. "But it's turtles all the way down!"

                                      C 1 Reply Last reply
                                      0
                                      • D dan sh

                                        Now this one is for all of you: I dont care about english and spellings. All I concerned is about coding . If you want to fight let us go to some other website. "Leave this place for technical issues." Anyway I think this one would help you to read faster and understand as well. I was labrynth for me to type whole words but alright I will do this. And the first person who started this owes an apology I guess. Rest all is up to you.

                                        Chaos, panic and disorder - my work here is done.

                                        P Offline
                                        P Offline
                                        Pete OHanlon
                                        wrote on last edited by
                                        #19

                                        d@nish wrote:

                                        And the first person who started this owes an apology I guess.

                                        I guess that would be you.:suss: Go on. We're waiting. Here's a piece of info for you - text speak puts people off answering your questions. You see, now that you have entered full text, I actually want to read what you have said.

                                        Deja View - the feeling that you've seen this post before.

                                        My blog | My articles

                                        1 Reply Last reply
                                        0
                                        • A Anthony Mushrow

                                          Total characters in your message: 291 Correct spelling (mostly) : 321 Hi Pete It might be annoying but this isn’t the only job I’ve got on this earth. I’ve a lot of other stuff to do, if you find it annoying then remember my name and don’t access my thread again. And for your kind info I “do ve a 2ble ||lel” key boards but I don’t want to waste my time hitting all the keys. Thanks and regards So, 30 keys you saved. At the cost of perhaps minutes of extra reading time. So if you can't be bothered to type out your words i don't see why anybody else should be bothered to answer your questions. Also, the english langauge uses these symbols: ;,.': and many others, use them.

                                          My current favourite word is: PIE! Good ol' pie, it's been a while.

                                          P Offline
                                          P Offline
                                          Pete OHanlon
                                          wrote on last edited by
                                          #20

                                          :laugh:Ah punctuation. Don't you just love it?

                                          Deja View - the feeling that you've seen this post before.

                                          My blog | My articles

                                          C 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