Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Path to parent directories

Featured Replies

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=1

IconFile=..\Custom.ico

IconIndex=0

The 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=1

IconFile=..\..\Custom.ico

IconIndex=0

Does anyone know why ..\..\ is not the right solution? Or what am I missing in the code?

Thank you.

  • Author

Well, it's strange, it seems like working for me with "Desktop.ini" :unsure:

jaclaz

jaclaz could you please show me your desktop.ini code?

:unsure:

Sure, it's identical to yours:

Strecture:

\bootfiles\

\bootfiles\custom.ico

\bootfiles\test\test\

\bootfiles\test\test\Desktop.ini

Contents of \bootfiles\test\test\Desktop.ini

[.ShellClassInfo]
ConfirmFileOp=1
IconFile=..\..\custom.ico
IconIndex=0

I 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.ico
IconIndex=0

I 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

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.