T
TJM
I looking for a way to conditionally run a script at
startup based on the hardware profile. Basically, I have
an application that runs from the startup folder, however
I only want it to run when I'm in a particular hardware
profile. I can do just about anything in a command
script, however I've not been able to find a way to
determine from the command line what Hardware profile the
machine is currently running under.
I do have methods for pulling registry info from the
command line, so if there is something in the registry
that would tell me which H/W profile is active, that
information would help. Any other ideas anyone can think
of for how I could achieve this functionality would be
appreciated.
Thanks,
-TJ
startup based on the hardware profile. Basically, I have
an application that runs from the startup folder, however
I only want it to run when I'm in a particular hardware
profile. I can do just about anything in a command
script, however I've not been able to find a way to
determine from the command line what Hardware profile the
machine is currently running under.
I do have methods for pulling registry info from the
command line, so if there is something in the registry
that would tell me which H/W profile is active, that
information would help. Any other ideas anyone can think
of for how I could achieve this functionality would be
appreciated.
Thanks,
-TJ