21#\windows\solitare.exe
So, how does this work, 21# means that the command line contains 21 characters, and the command line is "\Windows\Solitare.exe" (which is 21 characters, count them!)
wait a second, on the desktop the shortcut appears as "Internet Explorer", not as a shortcut to "Iesample" - when the Windows CE operating system gets built we can examine the contents of the overall O/S .DAT file ( initobj.dat) [the .dat file contains the creation of folders and maps files to folders] - here's the interesting line from the .dat file.
Directory("\Windows\Desktop"):-File("Internet Explorer.lnk", "\Windows\iesample.lnk")
Notice how the actual file \Windows\iesample.lnk maps to the \Windows\Desktop folder and appears as "Internet Explorer.lnk" on the desktop, .DAT file entries can be used to map, and rename files - pretty cool, eh !
No comments:
Post a Comment