Quantcast
Channel: Tech Support Forum - Windows 7 , Windows Vista Support
Viewing all articles
Browse latest Browse all 8389

[batch file] Start program after x hours

$
0
0
Hello,

I play a game called League of Legends. In the game there is a "First win of the day" bonus. When the bonus is claimed, it becomes unavailable for 22 hours. The shortest game lasts for 10 minutes.

So here I want to create a batch file that when I run it it will add a one time scheduler which will start the game after 21 hours and 50 minutes.

Here's my logical attempt:
Code:

@ECHO OFF
at (%CurrentTime% + 21:50) start "" "C:\Riot Games\League of Legends\lol.launcher.exe"

Could you please help me on setting the time?
Thanks in advance.

Viewing all articles
Browse latest Browse all 8389

Trending Articles