{获取C盘的卷标 格式化硬盘卷标改变} //GetHardDiskSerial('c:\') function GetHardDiskSerial(Drive: string): string; var VolumeSerialNumber: DWORD; MaximumComponentLength: DWORD; FileSystemFlags: DWORD; begin if Drive[Length(Drive)]=':' then Drive := Drive + …
1. 正常情况直接运行 start nginx.exe 不能开启成功,因为 80 端口被占用.提示: bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions) 可以查看 ngxin 的日志,Logs/errors.log 文件 2. 查看 端口占用情况:netstat -ano | findstr 0.0.0…