passing multiple parameters to an application via windows explorer

From: Craig Reynolds (craig_at_wyldphyre.com)
Date: 12/28/04

  • Next message: Marc Rohloff [TeamB]: "Re: passing multiple parameters to an application via windows explorer"
    Date: 28 Dec 2004 19:01:03 +0800
    
    

    OK, this is slightly, off topic, but I haven't been able to find the
    info I'm after by googling, and I figure someone here must have had a
    similar problem.

    I have an application for which I have registered a number of context
    menu entries, one of which executes the following command

    "H:\applcation_path\app_name.exe" /mu "%1"

    The problem I have is that the application switch in question asks the
    user for a destination path to move the selected file(s) to, but the
    command is being run for every item I have selected.

    So if I select 4 things, the question about the destination will appear
    4 times, when it should only appear once. The application itself copes
    with multiple parameters, and testing within delphi by entering
    parameters manually works fine.

    Is it possible to craft a command line command (as above) that would
    cause all of the selected files and folders to be passed just once to
    the application, instead of a call for each file or folder?

    thanks


  • Next message: Marc Rohloff [TeamB]: "Re: passing multiple parameters to an application via windows explorer"

    Relevant Pages

    • Re: passing multiple parameters to an application via windows explorer
      ... > command is being run for every item I have selected. ... > cause all of the selected files and folders to be passed just once to ... The results in the string list should be this. ...
      (alt.comp.lang.borland-delphi)
    • Success
      ... secure Windows, IIS, IE, Outlook Express ... >different upload and download folders. ... >Third party FTP software, or OpenSSH, or VPN can be used ... >1) Use a "DOS" Command Prompt for the steps below. ...
      (microsoft.public.inetserver.iis.security)
    • Re: system folders not shared?
      ... It is amazing how much can be accomplished at a command line. ... I still could not access XP's system folders. ... files would open across the network but media files would not). ... permissions to block the sharing of certain folders. ...
      (microsoft.public.windowsxp.network_web)
    • Re: Vanishing icons on Desktop and in Recycle Bin
      ... Use the command prompt ... I couldn't see a SID #. ... Both of those SID # folders should open, ... My INFO2 opens. ...
      (microsoft.public.windowsxp.help_and_support)
    • Re: List View: Calculate all sizes Default?
      ... figure out how to use Ian's command (which, above, I incorrectly referred ... This is why my script sends items to the trash rather than immediately ... folders are completely ignored. ... Is there a reason to suspect the restore would _not_ include ...
      (comp.sys.mac.system)