Using Portable File Icons with this line:
*\>Folder.ico|Folder Open.ico
It will not work if the folder in root directory is NTFS compressed. I noticed this problem began after the Windows 10 november update
Portable File Icons bug
Forum rules
You might want to read this if you're looking for priority service
Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.
How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
You might want to read this if you're looking for priority service
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
-
admin
- Site Admin
- Posts: 67271
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
-
bozo
- Posts: 4
- Joined: 15 Dec 2015 19:43
Re: Portable File Icons bug
For me it will work regardless of the folder having a compressed attribute if I do not use the asterisk, but if I add the /d switch the problem occurs again, however in my case it might be useful to use the /d switch.
My tests:
Makes all folders regardless of a desktop.ini file present inside to show the specified icon
Makes all folders to show the specified icon except folders with a desktop.ini file present inside or folders at the root of the drive with a compressed attribute
Same as the code above, and in this case I didn’t have to use the /d switch to customize using desktop.ini
I also tried removing the compressed attribute of a single folder and it shows the correct icon. The problems does not occur in compressed subfolders.
My tests:
Code: Select all
\>Folder.ico|Folder Open.icoCode: Select all
\ /d>Folder.ico|Folder Open.icoCode: Select all
*\>Folder.ico|Folder Open.icoI also tried removing the compressed attribute of a single folder and it shows the correct icon. The problems does not occur in compressed subfolders.
-
bozo
- Posts: 4
- Joined: 15 Dec 2015 19:43
Re: Portable File Icons bug
As I stated before, the problem only started after the Windows 10 1511 update which interestingly added a special overlay icon to compressed files and folders
-
bdeshi
- Posts: 4256
- Joined: 12 Mar 2014 17:27
- Location: Asteroid B-612
- Contact:
Re: Portable File Icons bug
Windows 10 with the Nov Update here.
Everything's okay here.
Makes all folders regardless of a desktop.ini file present inside to show the specified icon
Makes all folders to show the specified icon except folders with a desktop.ini file present inside or folders at the root of the drive with a compressed attribute
(yes this also works for me with compressed folders)
Same as the code above, and in this case I didn’t have to use the /d switch to customize using desktop.ini
(still works for me with compressed folders)
by the way, regarding those annoying blue arrow overlays: http://superuser.com/questions/1004536/ ... on-overlay
Everything's okay here.
Code: Select all
\>Folder.ico|Folder Open.icoCode: Select all
\ /d>Folder.ico|Folder Open.icoCode: Select all
*\>Folder.ico|Folder Open.icoby the way, regarding those annoying blue arrow overlays: http://superuser.com/questions/1004536/ ... on-overlay
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
-
admin
- Site Admin
- Posts: 67271
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Portable File Icons bug
OK, thanks for the info then. I don't see anything in my code that I could do now to change this.
FAQ | XY News RSS | XY X
-
bozo
- Posts: 4
- Joined: 15 Dec 2015 19:43
Re: Portable File Icons bug
Hi,SammaySarkar wrote:Windows 10 with the Nov Update here.
Everything's okay here.
Could you, please, also try marking a folder as compressed and read-only or system attribute? And see if still okay? Messing with the attributes here makes the icon change for me.
-
bdeshi
- Posts: 4256
- Joined: 12 Mar 2014 17:27
- Location: Asteroid B-612
- Contact:
Re: Portable File Icons bug
Ah. New results have arrived:bozo wrote:Hi,
Could you, please, also try marking a folder as compressed and read-only or system attribute? And see if still okay? Messing with the attributes here makes the icon change for me.
Code: Select all
\>Folder.ico|Folder Open.icoCode: Select all
*\>Folder.ico|Folder Open.icoCode: Select all
\ /d>Folder.ico|Folder Open.icoCode: Select all
*\ /d>Folder.ico|Folder Open.icoBugs exist for single-state CFIs too.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
-
admin
- Site Admin
- Posts: 67271
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Portable File Icons bug
Not in Win8.1. Cannot explain what happens in Win10 from here.SammaySarkar wrote:all folders show the specified icon, except folders with desktop.ini or foldersCode: Select all
*\>Folder.ico|Folder Open.icoat the root of the drivewith both compressed and system attribute.x2
FAQ | XY News RSS | XY X
XYplorer Beta Club