- johndeben
- Posts : 1
Join date : 2019-06-28
Problems with Caffeine.
Fri Jun 28, 2019 4:50 am
I made the following batch file. It seems to only process the first line. Also, Ctrl-C doesn't seem to work.
Can anyone help?
Thank you.
C:\Users\John\Downloads\caffeine.exe -useshift -showdlg
Pause
xcopy C:\Users\John\Temp\Test2.txt Test2x.txt
Pause
C:\Users\John\Downloads\caffeine.exe -appexit -showdlg
Pause
Can anyone help?
Thank you.
C:\Users\John\Downloads\caffeine.exe -useshift -showdlg
Pause
xcopy C:\Users\John\Temp\Test2.txt Test2x.txt
Pause
C:\Users\John\Downloads\caffeine.exe -appexit -showdlg
Pause
- GuestGuest
Re: Problems with Caffeine.
Fri Jun 28, 2019 8:52 am
Does your batch file opens a commandline window? The caffeine popup will take away the focus.If i remember well the commandline window must be active window to get the "any key" press to exit the Pause.
I am not so familiar with batch commands but do you not need " Start " to run an exe ?
Start C:\Users\John\Downloads\caffeine.exe -useshift -showdlg
I am not so familiar with batch commands but do you not need " Start " to run an exe ?
Start C:\Users\John\Downloads\caffeine.exe -useshift -showdlg
Permissions in this forum:
You can reply to topics in this forum