Skip to content

Instantly share code, notes, and snippets.

@exemplum100
Created September 5, 2023 14:35
Show Gist options
  • Save exemplum100/32e3c5c55ba07f025d59456fb4b70d72 to your computer and use it in GitHub Desktop.
Save exemplum100/32e3c5c55ba07f025d59456fb4b70d72 to your computer and use it in GitHub Desktop.
silentexecPYW
--Task sheduler
week,workday,12 min, in 12hours
--silent.vms
Set WshShell = CreateObject("WScript.Shell")
WshShell.Run "cmd.exe /c C:\Users\Desktop\Folder\shedule.bat", 0, false
--shedule.bat
@echo off
cd "C:\Users\Desktop\Folder\"
start pyw mypyfile.pyw
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment