Newsletter

How To Run A Python Script After Starting Your Windows Computer | Python 3.10 November 16th, 2022 Instructions

 

 

Step 1: Open A Notepad File

 

Step 2: Copy the path of your python .exe file and paste it with the path to your python file in the following format: 

C:\Users\PC-Name\AppData\Local\Programs\Python\Python310\python.exe C:\Users\Pc-Path\Desktop\master-file\YouTube_CiteV2.0.py

Step 3: Save the notepad  file in a .bat extension file type. 

Step 4: Right click on the file and run as administrator to make sure the file works. 

Step 5: Search for the run application on the desktop page and type in shell:startup 

Step 6: Drag and drop the .bat file in this folder to run any .bat file  when the PC starts up.

Comments