Download file act same as MS File Explorer

Features wanted...
Post Reply
jbruns2024
Posts: 11
Joined: 25 Jul 2024 22:50

Download file act same as MS File Explorer

Post by jbruns2024 »

When I download a file with Chrome or Edge, when it is done, I see an open folder icon in the upper right dialog.

When I click on that open folder icon in the upper right with Windows/File Explorer from MS, the downloads folder is opened and the file is highlighted.

With XY, the file is not highlighted. All it does is open the downloads folder and I have to go hunt for it.

Mirror what MS does.

Go one step further, auto select the unblock check box on the right click > properties menu that is seen when content is downloaded. Control that with an option in case some users still want that unblock to be unchecked. Default said option to check the check box.

admin
Site Admin
Posts: 65063
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Download file act same as MS File Explorer

Post by admin »

Not possible. This behavior is pretty much hardcoded work with File Explorer. But you don't have to hunt through the Downloads folder. Just sort it by Created date descending and your file will be at the top.

matewo
Posts: 100
Joined: 03 Jun 2018 21:35

Re: Download file act same as MS File Explorer

Post by matewo »

Hi jbruns2024,

there is
  • a PowerShell cmdlet (command) Unblock-File [1]

Code: Select all

PS > unblock-file -Path .\some_downloaded_file.txt
  • or streams tool from SysInternals [2]

Code: Select all

> streams    .\some_downloaded_file.txt
> streams -d .\some_downloaded_file.txt
Best regards, Markus

[1]: https://learn.microsoft.com/en-us/power ... block-file
[2]: https://learn.microsoft.com/en-us/sysin ... ds/streams

--

Edit: added SysInternals' streams command
Last edited by matewo on 15 Aug 2024 10:17, edited 1 time in total.

highend
Posts: 14593
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Download file act same as MS File Explorer

Post by highend »

Just disable the saving of zone information info, no need to unblock anything afterwards...

Code: Select all

REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments" /v "SaveZoneInformation" /t REG_DWORD /d "0x00000001" /f
One of my scripts helped you out? Please donate via Paypal

jbruns2024
Posts: 11
Joined: 25 Jul 2024 22:50

Re: Download file act same as MS File Explorer

Post by jbruns2024 »

admin wrote: 12 Aug 2024 09:17 Not possible. This behavior is pretty much hardcoded work with File Explorer. But you don't have to hunt through the Downloads folder. Just sort it by Created date descending and your file will be at the top.
I get that, it is just convenient that file/windows explorer will highlight the file in the downloads folder and XY seems to not be able to.

Norn
Posts: 483
Joined: 24 Oct 2021 16:10

Re: Download file act same as MS File Explorer

Post by Norn »

Some software adds an ID to this registry location for Hooking, but if multiple items are added, Explorer will not work properly or even crash, such as the taskbar.
The simple solution is to use an AutoHotkey script.

Code: Select all

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellExecuteHooks
Windows 11 24H2 @100% 2560x1440

phred
Posts: 575
Joined: 26 Dec 2021 02:10
Location: XY 64bit on Windows 10 at 100% from Boston USA

Re: Download file act same as MS File Explorer

Post by phred »

jbruns2024 wrote: 21 Sep 2024 18:06 I get that, it is just convenient that file/windows explorer will highlight the file in the downloads folder and XY seems to not be able to.
Did you miss the part where Don (admin) said it's pretty much hard-coded in File Explorer?

Post Reply