Reply to IceCrack's question, do your best.
Explorer, that is, the things in "My Computer", are not all files on the file system/disk. For example, things like the desktop and the recycle bin belong to fictional paths. The dead Microsoft official term is namespace, which is a hierarchical system that is larger than the file system (FS). Let's take an example. You can take a look at the properties of "Start Menu\Programs\Accessories\Communications\Network Connections.lnk":
The string above is called CLSID, which represents the path of the namespace. Translated, it is
Explorer \ My Computer \ Control Panel \ Network Connections \
Then, the recycle bin encryption uses a similar CLSID:
{645FF040-5081-101B-9F08-00AA002F954E}
It generates the notorious desktop.ini in the target encrypted folder, with the content:
CLSID={645FF040-5081-101B-9F08-00AA002F954E}
Then add the system hidden attribute.
If you go to dir the recycler folder under C: D: E:, you will also find the exactly same desktop.ini.
In fact, create a new folder and rename it to:
a.{645FF040-5081-101B-9F08-00AA002F954E}
Double-click it. Does it open the recycle bin?
Then rename it to
b.{2227A280-3AEA-1069-A2DE-08002B30309D}
Does it open the Printers folder?
There are too many similar tricks. If you are interested, you can refer to the relevant chapters of MSDN, including script writing shell programs, which are very interesting. (My MSDN is from February 2003)
ms-help://MS.MSDNQTR.2003FEB.2052/shellcc/platform/shell/programmersguide/shell_intro.htm
Also recommend a fun thing. You can edit the system's namespace.
Shell Object Editor http://www.crsky.com/soft/2206.html
Finally, why can you see it in cmd? My signature says: cmd is just a kind of shell, different from Explorer, the Windows shell. It is not affected by Explorer's characteristics, so you can view it.
[ Last edited by electronixtar on 2006-8-19 at 00:23 ]
Explorer, that is, the things in "My Computer", are not all files on the file system/disk. For example, things like the desktop and the recycle bin belong to fictional paths. The dead Microsoft official term is namespace, which is a hierarchical system that is larger than the file system (FS). Let's take an example. You can take a look at the properties of "Start Menu\Programs\Accessories\Communications\Network Connections.lnk":
%SystemRoot%\explorer.exe::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\::{7007acc7-3202-11d1-aad2-00805fc1270e}
The string above is called CLSID, which represents the path of the namespace. Translated, it is
Explorer \ My Computer \ Control Panel \ Network Connections \
Then, the recycle bin encryption uses a similar CLSID:
{645FF040-5081-101B-9F08-00AA002F954E}
It generates the notorious desktop.ini in the target encrypted folder, with the content:
CLSID={645FF040-5081-101B-9F08-00AA002F954E}
Then add the system hidden attribute.
If you go to dir the recycler folder under C: D: E:, you will also find the exactly same desktop.ini.
In fact, create a new folder and rename it to:
a.{645FF040-5081-101B-9F08-00AA002F954E}
Double-click it. Does it open the recycle bin?
Then rename it to
b.{2227A280-3AEA-1069-A2DE-08002B30309D}
Does it open the Printers folder?
There are too many similar tricks. If you are interested, you can refer to the relevant chapters of MSDN, including script writing shell programs, which are very interesting. (My MSDN is from February 2003)
ms-help://MS.MSDNQTR.2003FEB.2052/shellcc/platform/shell/programmersguide/shell_intro.htm
Also recommend a fun thing. You can edit the system's namespace.
Shell Object Editor http://www.crsky.com/soft/2206.html
Finally, why can you see it in cmd? My signature says: cmd is just a kind of shell, different from Explorer, the Windows shell. It is not affected by Explorer's characteristics, so you can view it.
[ Last edited by electronixtar on 2006-8-19 at 00:23 ]
C:\>BLOG http://initiative.yo2.cn/
C:\>hh.exe ntcmds.chm::/ntcmds.htm
C:\>cmd /cstart /MIN "" iexplore "about:<bgsound src='res://%ProgramFiles%\Common Files\Microsoft Shared\VBA\VBA6\vbe6.dll/10/5432'>"
