Results 1 to 4 of 4
  1. #1
    New Lounger
    Join Date
    Dec 2009
    Location
    Missouri
    Posts
    22
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Question Command line execution of windows programs

    How do I find the command to use for some of the embedded windows functions? For example, I would like to execute the "Compress File (ZIP)" command that appears on the "Send to" list when the file is right clicked. Where do I look to see the specific command that is executed when that option is selected? Thanks,

  2. #2
    WS Lounge VIP
    Join Date
    Dec 2009
    Location
    Earth
    Posts
    8,358
    Thanks
    52
    Thanked 1,017 Times in 946 Posts
    All those settings are in the registry, but that is a difficult place to navigate.
    I would try a search using your favourite search engine.

    cheers, Paul

  3. #3
    Super Moderator
    Join Date
    Jun 2011
    Location
    New England
    Posts
    4,850
    Thanks
    173
    Thanked 671 Times in 591 Posts
    Enter HELP at a Command Prompt for the list of available commands. Then follow a command with /HELP (or /h or /?) after a space for detailed help on a particular command.

    E.G. compact /h

    (I don't know of any cross-reference between GUI actions and command line equivalents.)

    Bruce
    Last edited by BruceR; 2012-11-18 at 04:20.

  4. #4
    Super Moderator BATcher's Avatar
    Join Date
    Feb 2008
    Location
    A cultural area in SW England
    Posts
    3,438
    Thanks
    33
    Thanked 196 Times in 176 Posts
    Quote Originally Posted by arth View Post
    How do I find the command to use for some of the embedded windows functions?
    The simple answer is "You don't, because most of them don't get exposed at the command line"! Only a limited number of largely ex-DOS command-line features have been continued in Windows, and only a few have been added. I don't suppose Microsoft could see much point in doing the extra work.
    BATcher

    "The trouble with quotes on the internet is that you can never know if they are genuine."
    Abraham Lincoln
    

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •