It doesn`t work because it could be "Start menu"
, not Start menu
. But system("_path_"Start Menu"_path_")
gives an error (system('_path_"Start Menu"_path_')
also gives an error). How to fix it?
Code:
system("move C:\\Users\\%USERNAME%\\Downloads\\a.exe C:\\Users\\%USERNAME%\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs\\Startup");