If you have installed guess on your windows machine then generally the path of installation is
c:\program files\GUESS\
If you want to run a scripts as soon as you start the guess from the guess.bat file present in the above mentioned folder then here is the step by step process to do the following.
step1) place your script xyz.py in the parent folder of GUESS
step 2) Make a net .bat file naming newguess.bat in the above parent folder
step3) In the file write "start guess.bat null xyz.py"
step4) give the administrative privilege to the newguess.bat file
now it should run same as expected.
c:\program files\GUESS\
If you want to run a scripts as soon as you start the guess from the guess.bat file present in the above mentioned folder then here is the step by step process to do the following.
step1) place your script xyz.py in the parent folder of GUESS
step 2) Make a net .bat file naming newguess.bat in the above parent folder
step3) In the file write "start guess.bat null xyz.py"
step4) give the administrative privilege to the newguess.bat file
now it should run same as expected.