Author |
Topic |
|
superiorcontrols
25 Posts |
Posted - 18 Dec 2002 : 12:43:54
|
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
|
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:
- 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.
- 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.
|
|
|
superiorcontrols
25 Posts |
Posted - 18 Dec 2002 : 13:43:14
|
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.
|
|
|
superiorcontrols
25 Posts |
Posted - 27 Jan 2003 : 15:00:18
|
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? |
|
|
akidder
1519 Posts |
Posted - 27 Jan 2003 : 15:07:33
|
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. |
|
|
|
Topic |
|