Devil of a time with command line parameter(s)

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
skeptic23
Posts: 6
Joined: Mon Sep 09, 2019 4:58 pm

Devil of a time with command line parameter(s)

Post by skeptic23 »

I'm trying to create a Windows 10 shortcut that launches Everything with a command line parameter to search (including subfolders) within 4 specified folders. I've tried -p, -search-file-list, and "Everything.exe [file-list-filename]" pointing to an .efu file list. Nothing seems to work.

Here are the folders:

"D:\My Data\My Stuff\My Video Capture"
"E:\My Data\Video"
"I:\My Fun Stuff\My Videos\Video Keepers"
"I:\My stuff\My Writing\Blogs and Forums\Facebook\Facebook Graphics\"

I guess I need 2 things:

1. Command line syntax for a Windows shortcut (as found in the "Target" box of the Properties/Shortcut tab)
2. Syntax for "Located In:" box on the Everything Search/Advanced Search panel.

I can't get either way to work.

Thanks!
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Devil of a time with command line parameter(s)

Post by NotNull »

You can create a shortcut with target:

Code: Select all

"C:\path to\Everything\Everything.exe" -search  """"D:\My Data\My Stuff\My Video Capture\""""|""""E:\My Data\Video\""""|""""I:\My Fun Stuff\My Videos\Video Keepers\""""|""""I:\My stuff\My Writing\Blogs and Forums\Facebook\Facebook Graphics\""""
But as that is not very human-friendly, I would suggest another solution:
  • Paste this in the Everything search bar:

    Code: Select all

    "D:\My Data\My Stuff\My Video Capture\" | "E:\My Data\Video\" | "I:\My Fun Stuff\My Videos\Video Keepers\" | "I:\My stuff\My Writing\Blogs and Forums\Facebook\Facebook Graphics\"
    
  • From the menu, choose Bookmarks > Add to Bookmarks
  • Give your new bookmark a name (see screenshot; I named it "My videos")
    2019-12-07 00_17_29-(5) voidtools forum - Post a reply.png
    2019-12-07 00_17_29-(5) voidtools forum - Post a reply.png (14.21 KiB) Viewed 1419 times
  • Click OK
  • Test your bookmark: Menu:Bookmarks > My videos
  • Create or edit the shortcut with target:

    Code: Select all

    "C:\path to\Everything\Everything.exe" -bookmark "My videos"
  • Test your shortcut
Post Reply