Menu

#4 'Open file location' as custom user command

v1.0_(example)
open
nobody
None
5
2020-01-31
2014-03-09
ubuluga
No

I'm trying to add a custom user command to the JPEGview.ini file, which opens the file location of the current image. So for example if I'm looking at a large number of images in JPEG view and i want to go to a particular image-file that I'm seeing, I could press the key 'o' and it would open the folder where the image is located, with the image being selected.
Its like when you do a search in windows and you can right click a file from the search results and select "open file location".
Could somebody help me how to write the command?
i tried
UserCmd5="KeyCode: O Cmd: '"C:\windows\explorer.exe"' "
but that just opens the Libraries
It must be real simple to do, but I just can't figure it out.
Thanks for any help!

Anyway, I thought it would be nice if there would be a page somewhere here where we post custom user commands.

Discussion

  • David Kleiner

    David Kleiner - 2014-03-11

    UserCmd5="KeyCode: O Cmd: 'explorer.exe /select,%filename%'"

    David

     
  • Fronk Johnson

    Fronk Johnson - 2020-01-31

    That worked! Thank you!

    Note to others: At first I tried putting a semicolon at the beginning of the line because the other lines in the JPEGview.ini file had semicolons, but that was incorrect; it only works for me when there is no semicolon.

     

Log in to post a comment.