question

Filip-2434 avatar image
0 Votes"
Filip-2434 asked AndreasBaumgarten commented

Powerschell change folder icons

Hello.
Can i change folder icon with powershell commands?
Thanks for help.

windows-server-powershell
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AndreasBaumgarten avatar image
1 Vote"
AndreasBaumgarten answered AndreasBaumgarten commented

Hi @Filip-2434 ,

You asked for "change folder icons" ;-)

To change file icons with PowerShell maybe this helps:
https://www.winhelponline.com/blog/change-default-icon-file-type-windows/


(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

Regards
Andreas Baumgarten

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@AndreasBaumgarten Yes yes i know).
It work... And if i want change chrome icon?
Is it possible?
Thanks for help).

0 Votes 0 ·

I haven't found a PowerShell solution to modify an icon of an EXE file so far.


(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

Regards
Andreas Baumgarten

1 Vote 1 ·
AndreasBaumgarten avatar image
0 Votes"
AndreasBaumgarten answered Filip-2434 commented

Ho @Filip-2434 ,

maybe this helps:

https://www.itdroplets.com/change-folder-icon-powershell/

or this one:

https://github.com/Kreloc/PowerShell/blob/master/Set-FolderIcon.ps1


(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

Regards
Andreas Baumgarten

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @AndreasBaumgarten .
It works but I coudl set only folder icons.
Is there way have to set for example file.docx or file.txt or some application icons?
Thanks for help.

0 Votes 0 ·