我需要 3 个不同的批处理文件来完成 3 个不同的任务:
- 记录 HldsUpdateTool.exe 控制台的输出,到目前为止我没有看到发生了什么,但我管理了这个:
@echo off
echo Updating...
call :Logit>>log.txt 2>&1
exit /b 0
:Logit
hldsupdatetool.exe -command update -game "Counter-Strike Source" -dir "Source 2007 Dedicated Server" -verify_all -retry
start notepad log.txt
-清理此日志以获取文件和文件夹列表;日志将如下所示:
Checking bootstrapper version ...
Updating Installation
Determining which depot(s) to install/update...
5 depot(s) will be installed/updated
0:30 Checking local files and building download list for depot 242 'Counter-Strike Source Shared' version 126
0:30 Connecting content server session for version 126
0:31 [80.239.194.146:27030] Connecting...
0:31 [80.239.194.146:27030] Connection established; handshaking...
0:31 [80.239.194.146:27030] Sending login message...
0:31 Fetching version 126 manifest
0:41 Reading version 126 checksum table
0:54 Calculating download size and verifying checksums
0:54 Checking...: /
0:54 Checking...: cstrike
0:54 Checking...: cstrike\bin
0:54 Checking...: cstrike\cfg
0:54 Checking...: cstrike\classes
0:54 Checking...: cstrike\maps
0:54 Checking...: cstrike\maps\graphs
0:54 Checking...: cstrike\maps\soundcache
0:57 Checking...: cstrike\materials
0:57 Checking...: cstrike\materials\brick
0:57 Checking...: cstrike\materials\buildings
0:57 Checking...: cstrike\materials\carpet
0:57 Checking...: cstrike\materials\composite
0:57 Checking...: cstrike\materials\concrete
0:58 Checking...: cstrike\materials\console
etc... later on files do not have extensions!
-从未列出的任何文件或文件夹中清除服务器文件夹!
我确实搜索了2天,但这是我自己可以去的地方......