Use of System Variables

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
Pacheco

Use of System Variables

Post by Pacheco »

Hi...
I want to report a situation and at the same time ask for a feature...

In the include/exclude list, i can't use system variables, like for example %USERPROFILE%.
It is of extreme use in order to make the program portable (or to use it after a format, if the username changes).

This is because I want to exclude the temporaries of Chrome, Firefox and Internet Explorer, and if i use paths like:

Code: Select all

C:\Documents and Settings\Administrator\Local Settings\Application Data\Google\
C:\Documents and Settings\Administrator\Application Data\Mozilla\Firefox
C:\Documents and Settings\Administrator\Local Settings
it works, but this but this:

Code: Select all

%USERPROFILE%\Local Settings\Application Data\Google
%USERPROFILE%\Application Data\Mozilla\Firefox\Profiles\
%USERPROFILE%\Local Settings\Temporary Internet Files
don't work, because it can't interpret the correct paths.
This makes the application dependent of the username of the system (not so good to use as a portable application)

Can anyone tells me if there is a work around, and at the same time, this is a request to the developer (of this great application!!)

Thx
void
Developer
Posts: 16745
Joined: Fri Oct 16, 2009 11:31 pm

Re: Use of System Variables

Post by void »

I think this would be best done with the following exclude filters:

Code: Select all

*\Local Settings\Application Data\Google\*
*\Application Data\Mozilla\Firefox\Profiles\*
*\Local Settings\Temporary Internet Files\*
These should work for the latest alpha.

I will consider the use of %% variables.
ale5000
Posts: 6
Joined: Tue Dec 08, 2009 3:43 pm

Re: Use of System Variables

Post by ale5000 »

It isn't enough since on Windows XP the name of "Local Settings" and "Application Data" folders change depending of the language of the OS.
If I remember correctly there are APIs to get the path of the "Local Settings" and the "Application Data" folders.
Pacheco

Re: Use of System Variables

Post by Pacheco »

void wrote:I think this would be best done with the following exclude filters:

Code: Select all

*\Local Settings\Application Data\Google\*
*\Application Data\Mozilla\Firefox\Profiles\*
*\Local Settings\Temporary Internet Files\*
These should work for the latest alpha.

I will consider allow use of %% variables.
Using the latest alpha (that i was already using), your filters don't work...
The contents of that folders still appear in the searches.. :?

ale5000 wrote:It isn't enough since on Windows XP the name of "Local Settings" and "Application Data" folders change depending of the language of the OS.
If I remember correctly there are APIs to get the path of the "Local Settings" and the "Application Data" folders.
In fact, it might be true... That folders i'm not sure (i believe you), as the desktop and my documents folders change depending on the language of the XP versions....

I might have to figure out an alternative that works :?
ale5000
Posts: 6
Joined: Tue Dec 08, 2009 3:43 pm

Re: Use of System Variables

Post by ale5000 »

There is a windows API called SHGetFolderPath
void
Developer
Posts: 16745
Joined: Fri Oct 16, 2009 11:31 pm

Re: Use of System Variables

Post by void »

Code: Select all

*\Local Settings\Application Data\Google\*
*\Application Data\Mozilla\Firefox\Profiles\*
*\Local Settings\Temporary Internet Files\*
Should work for the next release of "Everything".

I have added support for %% variables to my "Things to do" list...
ale5000
Posts: 6
Joined: Tue Dec 08, 2009 3:43 pm

Re: Use of System Variables

Post by ale5000 »

In this case:

Code: Select all

Italian Windows XP: C:\Documents and Settings\[User]\Impostazioni locali\Dati applicazioni\
English Windows XP: C:\Documents and Settings\[User]\Local Settings\Application Data\
the support for %% variables doesn't help.
void
Developer
Posts: 16745
Joined: Fri Oct 16, 2009 11:31 pm

Re: Use of System Variables

Post by void »

I will consider supporting the following additional variables:

Code: Select all

%ADMINTOOLS%
%COMMON_ADMINTOOLS%
%APPDATA%
%COMMON_APPDATA%
%COMMON_DOCUMENTS%
%COOKIES%
%HISTORY%
%INTERNET_CACHE%
%LOCAL_APPDATA%
%MYPICTURES%
%PERSONAL%
%PROGRAM_FILES%
%PROGRAM_FILES_COMMON%
%SYSTEM%
%WINDOWS%
Post Reply