Thanks for letting me know, now I at least know it is not a local problem with my system.
The reason that I want to be able to refresh a root category is that I have a simple file browser in my Xlobby skin. The file browser screen is composed of some buttons representing different disc drives (C:, D: etc.) and categories for browsing the files.
I have now solved this refresh problem by using directory links in the root of each drive category. It's not the perfect sollution but at least I don't have to redesign my browser.
Unfortunately normal Windows shortcuts to directories or drives like linkname.lnk does not work in an Xlobby file browser. For example, if you have a link to a drive or a directory and select that in a file browser in Xlobby, Explorer.exe (Utforskaren) is opened. Luckily enough I found a way to make a link that works in an Xlobby browser. I don't know if it is a documented feature but if it isn't, here's how to do it:
- Create a normal directory (folder)
- The directory should have the name you want the link to have
- Create a normal Windows shortcut inside the directory you created. The shortcut should point to the directory or drive you want the final link to point to
- Name the shortcut 'target', if you're using a DOS prompt name it 'target.lnk'
- Then create a normal text file inside the directory
- Name the textfile 'desktop.ini'
(You'll now have two files inside the directory, the 'target.lnk' and 'desktop.ini')
- Open the file desktop.ini in a text editor (eg Notepad) and add the text below.
- Code: Select all
[.ShellClassInfo]
CLSID2={0AFACED1-E828-11D1-9187-B532F1E9575D}
Flags=2
- Finally, make the directory write protected. An easy way to do that is to open a DOS prompt and use the command 'attrib'. An example, if the directory is named LINK and resides in the root of the C drive you would open a prompt with C:\ as current directory. At the prompt type 'ATTRIB +R LINK'.
- Now you have a link that works in an Xlobby file browser. Place the link in any directory you want and create a category with the name of the path to that directory. It will open a file browser with a link that always refreshes automatically when selected.