start program when file in folder code example

Example: add application to startup windows

1. Go to the program you want to add to StartUp > right click at the 
program > click Create Shortcut > save it to a folder or to your desktop > 
right click at the shortcut > click Copy.

2. Open Run > at the Run box, type %AppData% > click OK .

3. You are now on Roaming window > right side, click open Microsoft > scroll
downand click open Windows > click open Start Menu > click open Programs > 
click open Startup

4. you are now at Startup window > right side, right click at an open spot >
click Paste > the program you want to add is now in the Startup.