Need info from a programmer.

Discussion in 'Software' started by polymorpher, Mar 28, 2008.

  1. polymorpher

    polymorpher Private E-2

    %SystemRoot%\Explorer.exe /e,/idlist,%I,%L

    Now copied this from the registry obviously ...

    %SystemRoot%\Explorer.exe i know this is the path value
    i know "/e, /idlist" are command line switches and they are basically specific for the program in question...

    But i don't know what "%I, %L, %1" and the others I've seen floating around are.
    I figure there are some sort of predefined program strings or someting. I want to know how they are called so i can find a tutorial and learn about them so ill be able to use them around my XP to make my own convinient stuff out of shortcuts and bat files :)
     
  2. plodr

    plodr Major Geek Super Extraordinaire

    % is used when a space is involved so /idlist,%I,%L
    means idlist, I, L
     
  3. prometheos

    prometheos Staff Sergeant

    Code:
     Command Parameters
      %L       1st parameter as lfn
      %1       1st parameter as either lfn or sfn depending on type
                     of program
      %I        idlist (internal windows structure used only by explorer)
                     another way of identifying a file, but valid only while
                     a particular folder window is open
      %0        actual program name (not found in registry)
      %2-9     second to ninth parameters on the command line
                       can include any preferred number of parameters
      %*        all remaining parameters on the command line
    
     compound examples
         %1 %*         first parameter, then all remaining parameters
                                on the command line
         %1 %2 %*   first parameter, second parameter, then all
                                 remaining parameters
         %-5              remaining parameters from the fifth parameter
                                 on
    
     DDE Parameters
      %S                  show command (maximize, minimize, etc.)
      %H                  hotkey
    
    Essentially %L %1 etc. are placeholders for actual data, some of which may be iterative or recursive in nature. It's part of the Windows messaging scheme. :)
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds