Zhorn Software
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Go down
Posts : 1
Join date : 2019-06-28

Problems with Caffeine. Empty Problems with Caffeine.

on 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
xcopy C:\Users\John\Temp\Test2.txt Test2x.txt
C:\Users\John\Downloads\caffeine.exe -appexit -showdlg
Posts : 212
Join date : 2018-04-28

Problems with Caffeine. Empty Re: Problems with Caffeine.

on 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
Back to top
Permissions in this forum:
You can reply to topics in this forum