Index This (version 2023-05-15)

General discussion related to "Everything".
phil2search
Posts: 42
Joined: Tue Mar 20, 2018 9:04 pm

Re: Index This (version 2023-05-15)

Post by phil2search »

Hello,

thanks for your response. I run Beta 1414. Explorer has access to the folder. Powershell too (I can change directory to it).
I right click in exporer to start indexthis or I tried directly from a powershell terminal as well.

From the terminal, I get an error for the UNC path using the command from the registry (see below) or using directly the script (indexthis.ps1 "\\mypath"). No error for the same folder mounted. Same error in powershell 7 and 5.

Thanks
Philippe

pwsh.exe -nop -nol -ep bypass -f C:\desktop\IndexThis\IndexThis.ps1 "\\mypath"

Search services like 'Everything*'

Type Version Name File
---- ------- ---- ----
Service 1.5.0.1414 Everything C:\Program Files\Everything\Everything.exe
>>>>>>> 1.5.0.1414 Everything C:\Program Files\Everything\Everything.exe

InvalidArgument: C:\pathtoscript\IndexThis.ps1:385
Line |
385 | $DriveInfo = [IO.DriveInfo]$Path
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Cannot convert value "\\mypath" to type "System.IO.DriveInfo". Error: "Drive name
| must be a root directory (i.e. 'C:\') or a drive letter ('C'). (Parameter 'driveName')"
PropertyNotFoundException: C:\pathtoscript\IndexThis.ps1:387

Other errors follow...
NotNull
Posts: 5986
Joined: Wed May 24, 2017 9:22 pm

Re: Index This (version 2023-05-15)

Post by NotNull »

Right, you are using the PowerShell script by @matandra?
I do have no experience with it. Hopefully @matrandra can help you out. Or try contacting him through his website.

For now: the version I wrote -- see opening post -- will work with UNC paths.
phil2search
Posts: 42
Joined: Tue Mar 20, 2018 9:04 pm

Re: Index This (version 2023-05-15)

Post by phil2search »

Thanks for the response.
Silly me. Sorry.
I got confused because the option is not there when clicking in the background of a folder but only on the folder itself.
So I installed what I thought was a newer version. If @matandra reads this, using a slightly different name could be helpful.

So I reinstalled your version and it works.

Thanks again.
Philippe
matandra
Posts: 9
Joined: Tue Dec 16, 2025 2:19 pm

Re: Index This - PowerShell version

Post by matandra »

Hi Philippe,

Sorry about the confusion. I specifically chose "Index This - PowerShell version" as the subject line to avoid any mix-ups. :(

Version 1.2.0 is available on the web site. It handles UNC paths specially.
phil2search
Posts: 42
Joined: Tue Mar 20, 2018 9:04 pm

Re: Index This (version 2023-05-15)

Post by phil2search »

Thanks for your reply.
I'll try it if I have problem with the Notnull tool (which is not the case now).
Philippe