named instance

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
Philp
Posts: 10
Joined: Thu Oct 24, 2019 9:52 pm

named instance

Post by Philp »

Using CMD I created a new instance of everything called everything -instance "pictures"..I can't figure out how to run it other than with the run utility.How do I get an icon for this new instance on my desktop so I just click it to run. I tried renaming the file but that doesn't work because a dash and quotes are not allowed in a file name. Obviously you can see I am a beginner but any help would be appreciated.

philp
therube
Posts: 4955
Joined: Thu Sep 03, 2009 6:48 pm

Re: named instance

Post by therube »

Make a copy of your existing desktop shortcut
Rename that copy to "Everything - Pictures" (or whatever you want)
Right-click the icon, change its' Properties -> Target: to something like:

Code: Select all

C:\Programfiles\Everything.exe  -instance pictures
Philp
Posts: 10
Joined: Thu Oct 24, 2019 9:52 pm

Re: named instance

Post by Philp »

Doesn't work. There is no file named everything -pictures in the "program files\everything" folder
therube
Posts: 4955
Joined: Thu Sep 03, 2009 6:48 pm

Re: named instance

Post by therube »

No, there wouldn't be.
I was talking about your desktop shortcut & making a copy of that.
"Pictures" (seemingly) is what you want your named instance named as.
Philp
Posts: 10
Joined: Thu Oct 24, 2019 9:52 pm

Re: named instance

Post by Philp »

I cut and pasted from your initial response. On the copied short cut I renamed it "Everything -pictures" . It won't let me do that because Quote marks are not allowed in a file name. If I omit the quotes and rename it Everything -pictures that is ok. Then when I go to properties and enter c:\program files\everything\everything.exe -instance pictures I get the error that the name in the target box is not valid.
I guess I don't understand how this works. There must be an exe file someplace named everything.exe -pictures but I can't find it.

philp
froggie
Posts: 300
Joined: Wed Jun 12, 2013 10:43 pm

Re: named instance

Post by froggie »

you have to use quotes for the target:

"c:\program files\everything\everything.exe -instance pictures"

Code: Select all

 everything.exe
is the program name

Code: Select all

 -instance pictures 
is a parameter that is passed to the program
Philp
Posts: 10
Joined: Thu Oct 24, 2019 9:52 pm

Re: named instance

Post by Philp »

I cut and pasted your info for target and still get the error that the file name is not valid. That seems to make sense since the file everything.exe -pictures does not exist.
horst.epp
Posts: 1443
Joined: Fri Apr 04, 2014 3:24 pm

Re: named instance

Post by horst.epp »

Philp wrote: Tue Jul 21, 2020 5:29 pm I cut and pasted your info for target and still get the error that the file name is not valid. That seems to make sense since the file everything.exe -pictures does not exist.
Create a link (lnk) to Everything.exe and then add the parameters in the properties of this link.
The path to Everything.exe can be in "" in this case.
Philp
Posts: 10
Joined: Thu Oct 24, 2019 9:52 pm

Re: named instance

Post by Philp »

I have tried that and stil get the same error. See attachment.
Capture.PNG
Capture.PNG (57.63 KiB) Viewed 10965 times
Philp
Posts: 10
Joined: Thu Oct 24, 2019 9:52 pm

Re: named instance

Post by Philp »

I have tried that and stil get the same error. See attachment.
Capture.PNG
froggie
Posts: 300
Joined: Wed Jun 12, 2013 10:43 pm

Re: named instance

Post by froggie »

(deleted as erroneous, too hot for brain to work)

thanks, therube
Last edited by froggie on Tue Jul 21, 2020 9:42 pm, edited 2 times in total.
therube
Posts: 4955
Joined: Thu Sep 03, 2009 6:48 pm

Re: named instance

Post by therube »

You have the correct syntax.
The error message is saying that there is no Everything,exe in the c:\Program Files\everything directory
No.
The error message is saying there is no, "c:\program files\everything\everything.exe -instance pictures".

In the shortcut, the path+exe name can be in quotes (needs to be if there is a space in there), but the options/parameters are outside the quotes.

So:

Code: Select all

"c:\program files\everything\everything.exe"  -instance  pictures

(Earlier today my brother was running:

Code: Select all

C:\sdelete64-c  E:
rather then

Code: Select all

C:\sdelete64  -c  E:
It didn't work [his way] ;-).)
Philp
Posts: 10
Joined: Thu Oct 24, 2019 9:52 pm

Re: named instance

Post by Philp »

OK your last post to put the -instance Pictures outside the quotes worked. I originally thought there needed to be a separate everything.exe for each instance but I guess that is not the case.
Post Reply