- Leob
- Posts : 2
Join date : 2022-12-28
Launch Caffeine with Powershell script
Wed Dec 28, 2022 2:12 pm
Hello
I have a question
i want to use a powershell script to run caffeine64.exe -stes
What i have working so far is the command : Invoke-Expression -Command "C:\Apps\Caffeine\caffeine64.exe"
but i want to use it with the -stes option
Does anyone happen to know what I can do to get this working with the -stes option?
Thanks for any help
I have a question
i want to use a powershell script to run caffeine64.exe -stes
What i have working so far is the command : Invoke-Expression -Command "C:\Apps\Caffeine\caffeine64.exe"
but i want to use it with the -stes option
Does anyone happen to know what I can do to get this working with the -stes option?
Thanks for any help
- guest_todayGuest
Re: Launch Caffeine with Powershell script
Thu Dec 29, 2022 6:37 am
Start-Process -FilePath "d:\Roaming\stickies\caffeine64.exe" -ArgumentList "-stes"
replace the filepath with yours
replace the filepath with yours
- Leob
- Posts : 2
Join date : 2022-12-28
Re: Launch Caffeine with Powershell script
Thu Dec 29, 2022 9:05 am
Thanks for your help it's working now
Permissions in this forum:
You can reply to topics in this forum
|
|