Find Files in separate process doesn't search in AppData
Moderators: white, Hacker, petermad, Stefan2
Find Files in separate process doesn't search in AppData
I wanted to find Microsoft Word's Normal.dotm template file (full path to is: c:\Users\<USER_NAME>\AppData\Roaming\Microsoft\Templates\Normal.dotm)
I decided to search in separate process with the following command %COMMANDER_EXE% /S=F using following parameters:
1) Search for: Normal
2) Search in: C:\Users\<USER_NAME>\
However, file was not found.
Then I used in-process Alt+F7 search - and file was found.
I decided to search in separate process with the following command %COMMANDER_EXE% /S=F using following parameters:
1) Search for: Normal
2) Search in: C:\Users\<USER_NAME>\
However, file was not found.
Then I used in-process Alt+F7 search - and file was found.
License #299429
There is no knowledge that is not power
There is no knowledge that is not power
- ghisler(Author)
- Site Admin
- Posts: 48083
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Appdata is a hidden folder. Standalone search may not be able to see it.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
I can't confirm:
- AppData is NOT hidden - at least here, on Windows 7
- I tried both with 32-bit and 64-bit TC 9.20 Beta 5, and both of them can find files in AppData, regardless of file/folder attributes, even when searching by using a separate process.
So this is probably some other problem.
Regards
- AppData is NOT hidden - at least here, on Windows 7
- I tried both with 32-bit and 64-bit TC 9.20 Beta 5, and both of them can find files in AppData, regardless of file/folder attributes, even when searching by using a separate process.
So this is probably some other problem.
Regards
Can't confirm this bug, regardless of TC version. If the display of hidden and system files is enabled, the file normal.dot is found, in normal search as well as in separate search. If I disable the display of hidden and/or system files, the file is not found, regardless of search method.
[EDIT2]
AppData is hidden and %AppData%\Microsoft is a system directory, so the display of both hidden and system is required to find this file.
[/EDIT2]
[EDIT]
@MarcinW:
AppData is hidden on (my) Windows 7. Take a look at the %SystemRoot%\Users\Default directory.
[/EDIT]
Regards
Dalai
[EDIT2]
AppData is hidden and %AppData%\Microsoft is a system directory, so the display of both hidden and system is required to find this file.
[/EDIT2]
[EDIT]
@MarcinW:
AppData is hidden on (my) Windows 7. Take a look at the %SystemRoot%\Users\Default directory.
[/EDIT]
Regards
Dalai
Last edited by Dalai on 2018-06-01, 15:56 UTC, edited 3 times in total.
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
%SystemRoot%\Users\Default = c:\Users\Default -> is hidden here
%AppData% = c:\Users\X\AppData\Roaming -> is NOT hidden here (but c:\Users\X\AppData is hidden)
But the real question is: is it possible, that the normal search can find a file, and a standalone search cannot find it? I could not reproduce this.
Regards
%AppData% = c:\Users\X\AppData\Roaming -> is NOT hidden here (but c:\Users\X\AppData is hidden)
But the real question is: is it possible, that the normal search can find a file, and a standalone search cannot find it? I could not reproduce this.
Regards
That's confirms what I said. You probably thought that Ghisler meant %AppData% when he said Appdata, but AppData is not the same as %AppData% (as you pointed out yourself).MarcinW wrote:%AppData% = c:\Users\X\AppData\Roaming -> is NOT hidden here (but c:\Users\X\AppData is hidden)
Yep, that's the point.But the real question is: is it possible, that the normal search can find a file, and a standalone search cannot find it?
Neither did I. One reason could be that the command used to start the separate search uses a different wincmd.ini than the regular search, i.e. hidden (and system) files shown only in the latter.I could not reproduce this.
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
- ghisler(Author)
- Site Admin
- Posts: 48083
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I have tested it now - although AppData is hidden, TC finds the file also when using standalone search.
The only problem I can see is when TC itself and the standalone search would use separate settings files, and hidden files would be disabled in the one used by the standalone search.
The only problem I can see is when TC itself and the standalone search would use separate settings files, and hidden files would be disabled in the one used by the standalone search.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 48083
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
OK, so it's not a bug. I will move this thread to "will not be changed" then.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com