Open registry editor and then go to: ComputerHKEY_LOCAL_MACHINESOFTWAREMicrosoftCommand Processor and create a new string value and type in VALUE your command you want to run any time you start cmd.