|
|
|
|
Functions
MioScript Reference
|
|
Syntax
| disk.folder.setAsSystem(path) |
Parameters
| STRING | path | Path to the folder. The last / must not be specified. |
Return value
No value is returned.
Description
Set a folder as a system folder.
A system folder can be customized.
To define a custom icon for the folder, add an icon and create a desktop.ini file in the folder.
The destkop.ini file should look as follow:
[.ShellClassInfo]
InfoTip=This is a folder with a custom icon
IconFile=myIcon.ico
IconIndex=0
ConfirmFileOp=0
|
The iconFile parameter can also be the full path to an icon stored outside of the folder.
You can also customize the web view of the folder with a .htt file.
Note: This function is the same than the PathMakeSystemFolder windows API function.
|
MioScript Sample Code
disk.folder.setAsSystem(path.desktop("MyFolder"))
|
|
|
|