Thread: I command you with all Might I have

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User Need_O2's Avatar
    Join Date
    Jan 2008
    Posts
    13
    Start -> Run -> $My application path$ $File to open with Path$
    so I opened the "File to open with" with my application
    So I want to store $File to open with Path$ in a string to know what I opened with it

    like
    mspaint "C:\Pictures\Lieandsorrow.jpeg"
    lieandsorrow.jpeg gets opened with mspaint
    mspaint knows about "C:\Pictures\Lieandsorrow.jpeg" and it opens it
    I want the "knows about" part

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    I'm also confused about what you want to do: Are you asking "how do I get the command line arguments", or something else? The former is described in the FAQ section in the blue line above this thread.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

Popular pages Recent additions subscribe to a feed