Sleep: Difference between revisions
Jump to navigation
Jump to search
m
→Approach 1: %RANDOM% + ping local
mNo edit summary |
|||
| Line 25: | Line 25: | ||
* 55 is the range of values you want: 5 to 60. | * 55 is the range of values you want: 5 to 60. | ||
* 32767 is the range of values returned by {{kbd | key=<nowiki>%RANDOM%</nowiki>}} (0 to 32767). | * 32767 is the range of values returned by {{kbd | key=<nowiki>%RANDOM%</nowiki>}} (0 to 32767). | ||
* 5 is the minimum value you want. The original range of values is '0 to | * 5 is the minimum value you want. The original range of values is '0 to 55'. After plus 5 the range became '5 ~ 65'. | ||
* ping local address: {{kbd | key=<nowiki>/n <Count></nowiki>}} "Specifies the number of echo Request messages sent. The default is 4."<ref>[https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/ping time]</ref><ref>[https://stackoverflow.com/questions/735285/how-to-wait-in-a-batch-script windows xp - How to wait in a batch script? - Stack Overflow]</ref> | * ping local address: {{kbd | key=<nowiki>/n <Count></nowiki>}} "Specifies the number of echo Request messages sent. The default is 4."<ref>[https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/ping time]</ref><ref>[https://stackoverflow.com/questions/735285/how-to-wait-in-a-batch-script windows xp - How to wait in a batch script? - Stack Overflow]</ref> | ||