iTA360

Auto Steam App id

Sep 27th, 2023 (edited)
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. @echo off
  2.  
  3. REM Look for all files with the .appid extension in the current folder
  4. SETLOCAL ENABLEDELAYEDEXPANSION
  5.  
  6. FOR /F "delims=" %%F IN ('dir /b *.appid') DO (
  7. REM Remove the .appid extension from the file name
  8. SET filename=%%~nF
  9.  
  10. REM Write the name of the .appid file to steam_appid.txt
  11. echo !filename! > steam_appid.txt
  12. )
  13.  
  14. REM Move the steam_appid.txt file to the steam_settings folder
  15. move steam_appid.txt steam_settings
  16.  
  17. REM Exit the batch file
  18. ENDLOCAL
Advertisement
Add Comment
Please, Sign In to add comment