All Forums
 Microsoft Windows CE
 General CE
 ADSLOAD.REG
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

superiorcontrols

25 Posts

Posted - 18 Dec 2002 :  12:43:54  Show Profile  Email Poster
Is there a way to add adsload.reg to your flash disk and have it run each time at boot? I have several machines that will not have a PCMCIA Flash ATA card.

ctacke

877 Posts

Posted - 18 Dec 2002 :  12:54:41  Show Profile  Email Poster
If I understand correctly you have some registry settings that you want to persist across power cycles? If that's the case you have a couple options:


  1. Modify and load ADSLOAD.REG on the device. Once you've done so it is held permanently in flash and the ATA card is no longer necessary.
  2. Put just the reg settings you want into their own reg file then use ADSReg.exe at startup to parse the file and make the changes.
Go to Top of Page

superiorcontrols

25 Posts

Posted - 18 Dec 2002 :  13:43:14  Show Profile  Email Poster
Well I don't have a ATA card to begin with, so can I transfer the file directly somewhere to have ADSLOAD.REG loaded at startup, tried the "FLASHFX" directory, but that did not work.

Go to Top of Page

superiorcontrols

25 Posts

Posted - 27 Jan 2003 :  15:00:18  Show Profile  Email Poster
A little more detail, my application needs to make changes to
the registry that will have to be persistent over boots. Do I update
the adsload.reg somewhere on the "flash fx" drive?
Go to Top of Page

akidder

1519 Posts

Posted - 27 Jan 2003 :  15:07:33  Show Profile  Email Poster
We generally don't recommend modifying the ADSLOAD.REG file with your application, as errors in writing it back to flash can render your system unusable for your end application.

As Chris suggested in #2, above, your best bet it to place the ADSReg.exe application in the \FlashFX Disk\Startup folder. Use it to read a supplemental registry file--also stored on the flash disk--that your application maintains. At run-time, make the changes to both the system registry and to this file. On the next boot, ADSReg.exe will parse the entries in the file and incorporate them into the system registry.

You can use ADSCopy.exe to launch ADSReg.exe with a file name parameter, but it would be less circuitous to modify ADSReg.exe to read a specific file name for your application.
Go to Top of Page
  Topic  
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.02 seconds. Snitz Forums 2000