How can a batch file lists itself in the startup list of Windows???
It doesn’t matter if it goes from the registry or not.
IF with the registry, please give also the command to DELETE the registry entry.
This should work under all versions from ME to 7 please.
Otherwise just XP/Vista/7.
Thanks.
Not sure i understand you, but if what you want is an easy way to execute a command/batch on startup, why not just put it in the
All Users\Startupfolder?To do so programatically would just mean copying a file to that directory.
For example, in Windows Vista, the full path of that directory is:
(you can use replace the beginning of the line with
%ProgramData%or%AllUsers%\ProgramDatato make it more global – such as when Windows is installed on D:).