Does anyone know if it's possible to create a BAT file which
can automate the task of adding a script into this control
panel?? I know it sounds weird, but I need a BAT file that
will install a different BAT file script into this control panel
thing.
Please let me know if this is possible. Thanks!
Perhaps in the gpedit.msc just specify a "fixed" CALLER.BAT which
simply calls CALLED.BAT. You can change CALLED.BAT to contain
whatever you wish...
Another tack is to enter a aaabbbccc.bat and then search the registry to
see where it is entered.
--
Regards,
Mic
That is the easy part. Parsing the key for existing entries on unknown
machines so you clobber them is another matter.
don't you "simply" merge .adm files?
- but a regedit to add an entry to
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
or
HKCU\Software\Microsoft\Windows\CurrentVersion\Run
or even
%userprofile%\Start Menu\Programs\Startup
would do the job
--
"Nuns! NUNS! Reverse! Reverse!"
> HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
> or
>
> HKCU\Software\Microsoft\Windows\CurrentVersion\Run
>
> or even
> %userprofile%\Start Menu\Programs\Startup
>
> would do the job
Not for shutdown though.
--
Regards,
Mic