Advertisement
Guest User

Untitled

a guest
Jul 11th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @echo off
  2. cd\
  3. cls
  4. FOR /F "delims=- tokens=1,2,3" %%g IN ("%computername%") DO (CALL :PARSE2 %%g %%h %%i)
  5. :PARSE2
  6. set _RM=%2
  7. SET _RM=%_RM:~2,3%
  8. IF %_RM% EQU 4 (SET /A _PCNum=%3 + 42) else (SET _PCNum=%3)
  9. IF %_PCNum% LSS 10 (SET /A _PCNum=%_PCNum% + 10 - 10)
  10.  
  11. echo.
  12. echo PC Name = %computername%
  13. echo Location = %_RM%
  14. echo user = tu0100241pc%_PCNum%
  15. echo password = I don't know this
  16.  
  17. REM Un-REM these lines and modify
  18. REM SET User=tu0100241pc%_PCNum%
  19. REM SET PW=whatever your pw is
  20. REM start steam.exe -user
  21.  
  22. pause
  23. exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement