Re: permanent desktop link



Set:

[HKEY_LOCAL_MACHINE\SYSTEM\Explorer\Shell Folders]
"Desktop"="\\PathToCF\\Desktop"

Or you could mount your CF as Root and just leave the above pointing to
\\Windows (because the Windows folder will be shadowed & persisted on CF).


Good luck,

Michel Verhagen, eMVP
Check out my blog: http://GuruCE.com/blog

GuruCE
Microsoft Embedded Partner
http://GuruCE.com
Consultancy, training and development services.

Stefanie Niefer wrote:
Hi Michael,

On 5 Jul., 14:59, "Michael Salamone" <mikesa#at#entrek#do#com> wrote:
You are creating a shortcut on the desktop using SHCreateShortcut API? �If
so, shortcuts are stored in the file system, not in the registry. �What is
the path you are providing for szShortcut parameter? �And is that path in
persistent storage or in RAM storage / object store?

I think so. Well actually anything I put on the desktop should be
persistent. I'm not using any API for it.
You know - using right mouse button and saying - create desktop
shortcut... ;-)

I know, that files are not stored in registry, but with registry data
it is working.
What I don't know is, how to configure the system so, that it also
stores and reads the desktop content and or user speific files from CF-
Card - just like the registry data.

I found the following entry in my reginit.ini:

; When a bootable persistent storage device is mounted, redirect
ObjectStore
; database operations to a volume file on the device. This will be the
same
; storage device where the registry hives are stored on FSREGHIVE
builds.

[HKEY_LOCAL_MACHINE\System\ObjectStore]
"DefaultDBVol"="Documents and Settings\\default.vol"

[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\ObjectStore]
"Dll"="filesys.dll"
"Paging"=dword:1
"LoadFlags"=dword:1
"BootPhase"=dword:0
"MountPermanent"=dword:1
; Only mount ObjectStore FS as root if PRJ_ENABLE_FSMOUNTASROOT is
NOT set
; in order to preserve backwards compatibility (ObjectStore is
root of
; virtual file system by default).
"MountAsRoot"=dword:1

Maybe it helps, if I set the "BootPhase"-parameter to 1? I don't know,
that is currently all very complicated for me... (evaluating about 2
weeks now...)

ty,
Steffi

.


Loading