Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- cd\
- cls
- FOR /F "delims=- tokens=1,2,3" %%g IN ("%computername%") DO (CALL :PARSE2 %%g %%h %%i)
- :PARSE2
- set _RM=%2
- SET _RM=%_RM:~2,3%
- IF %_RM% EQU 4 (SET /A _PCNum=%3 + 42) else (SET _PCNum=%3)
- IF %_PCNum% LSS 10 (SET /A _PCNum=%_PCNum% + 10 - 10)
- echo.
- echo PC Name = %computername%
- echo Location = %_RM%
- echo user = tu0100241pc%_PCNum%
- echo password = I don't know this
- REM Un-REM these lines and modify
- REM SET User=tu0100241pc%_PCNum%
- REM SET PW=whatever your pw is
- REM start steam.exe -user
- pause
- exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement