March 1, 201016 yr Hi,I have created a .ini file in one of my folders and - in order to give it a customised icon - I added the following line:[.ShellClassInfo]ConfirmFileOp=1IconFile=..\Custom.icoIconIndex=0The icon Custom.ico resides in the parent folder. Thus I created a relative path using ..\ in order to link to the icon contained one level up in the hierarchy. It works just fine!The problem is that I would like to link to an icon wich must be TWO levels up and not just one from the foder containing the .ini file. I tried to modify as follows but it did not work:[.ShellClassInfo]ConfirmFileOp=1IconFile=..\..\Custom.icoIconIndex=0Does anyone know why ..\..\ is not the right solution? Or what am I missing in the code?Thank you.
March 1, 201016 yr Author Well, it's strange, it seems like working for me with "Desktop.ini" jaclazjaclaz could you please show me your desktop.ini code?
March 1, 201016 yr Sure, it's identical to yours:Strecture:\bootfiles\\bootfiles\custom.ico\bootfiles\test\test\\bootfiles\test\test\Desktop.iniContents of \bootfiles\test\test\Desktop.ini[.ShellClassInfo]ConfirmFileOp=1IconFile=..\..\custom.icoIconIndex=0I simply used the GUI interface of XP to have the selected folder of the type "documents" then selected the icon I wanted to show, the Desktop.ini file inside the folder was:[.ShellClassInfo]IconFile=%SystemDrive%\bootfiles\custom.icoIconIndex=0I manually changed the path to the relative one and added the line that was in your example "ConfirmFileOp=1" (just to make sure it was not that part the problem).jaclaz
Create an account or sign in to comment