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. How can I ?

How can I ?

Scheduled Pinned Locked Moved C#
questionjsonhelp
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.
  • S Offline
    S Offline
    snouto
    wrote on last edited by
    #1

    Hi dudes. how are you everybody ???? When you Open Start ---> run -----> and type any command like (cmd , regedit) it will execute the command. So how can i make a command line string of my own to do some operations when the user type it in run dialog of the windows operating system. ? if anybody can help me with this Miss With The Best And Die Like The Rest

    M D 2 Replies Last reply
    0
    • S snouto

      Hi dudes. how are you everybody ???? When you Open Start ---> run -----> and type any command like (cmd , regedit) it will execute the command. So how can i make a command line string of my own to do some operations when the user type it in run dialog of the windows operating system. ? if anybody can help me with this Miss With The Best And Die Like The Rest

      M Offline
      M Offline
      Mohamad Al Husseiny
      wrote on last edited by
      #2

      You need to handel Command Line Arguments in Your program So use public static void Main(string Args[]) Or static int Main(string[] Args) instead of parametersless Main method look at Command-Line Arguments[^] you need to parse this arguments to handle more complex parameters an example for this can be found at C#/.NET Command Line Arguments Parser [^] MCAD -- modified at 20:59 Thursday 6th October, 2005

      1 Reply Last reply
      0
      • S snouto

        Hi dudes. how are you everybody ???? When you Open Start ---> run -----> and type any command like (cmd , regedit) it will execute the command. So how can i make a command line string of my own to do some operations when the user type it in run dialog of the windows operating system. ? if anybody can help me with this Miss With The Best And Die Like The Rest

        D Offline
        D Offline
        Daniel Grunwald
        wrote on last edited by
        #3

        Take a look at the registry key SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths

        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