Keep Windows Machine Awake (Citrix)
:KeepAwake
cd\
cls
TIME /T > "%userprofile%"\desktop\KeepAwakeLog.txt
TYPE "%userprofile%"\desktop\KeepAwakeLog.txt
SLEEP 60
start cmd /c "sleep 1 & exit"
@GoTo :KeepAwake
Meditech NPR Reports / NPR Report Writing / NPR Report Writer / Meditech NPR / Non-Procedural Report / Meditech Consulting / Meditech Reports
No warranty is expressed or implied for this information.
:KeepAwake
:: Get to your system drive, I've hardcoded c:.
Quick and easy VB6 way to determine whether the string ERX is in the strInBuffer.
Private Sub Hang(sngSeconds As Single)
strFtpFileName = Left(pData.cFileName, InStr(1, pData.cFileName, String(1, 0), vbBinaryCompare) - 1)