Fossil SCM
Give the correct way to figure out the temporary directory used under Windows.
Commit
4e688dc0f9fe8161c4c0c2905aa775a2399d67d5ee81a882fa9306e8c1aa8b41
Parent
4350f3265e8ca24…
1 file changed
+4
-2
+4
-2
| --- www/server/windows/service.md | ||
| +++ www/server/windows/service.md | ||
| @@ -52,12 +52,14 @@ | ||
| 52 | 52 | |
| 53 | 53 | When the Fossil server will be used at times that files may be locked |
| 54 | 54 | during virus scanning, it is prudent to arrange that its directory used |
| 55 | 55 | for temporary files is exempted from such scanning. Ordinarily, this |
| 56 | 56 | will be a subdirectory named "fossil" in the temporary directory given |
| 57 | -by the Windows GetTempPath(...) API - you can find its value, for example, | |
| 58 | -by executing `[System.IO.Path]::GetTempPath()` in a Powershell console. | |
| 57 | +by the Windows GetTempPath(...) API, [namely](https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-gettemppathw#remarks) | |
| 58 | +the value of the first existing environment variable from `%TMP%`, `%TEMP%`, | |
| 59 | +`%USERPROFILE%`, and `%SystemRoot%`; you can look for their actual values in | |
| 60 | +your system by accessing the `/test_env` webpage. | |
| 59 | 61 | Excluding this subdirectory will avoid certain rare failures where the |
| 60 | 62 | fossil.exe process is unable to use the directory normally during a scan. |
| 61 | 63 | |
| 62 | 64 | ### <a id='PowerShell'></a>Advanced service installation using PowerShell |
| 63 | 65 | |
| 64 | 66 |
| --- www/server/windows/service.md | |
| +++ www/server/windows/service.md | |
| @@ -52,12 +52,14 @@ | |
| 52 | |
| 53 | When the Fossil server will be used at times that files may be locked |
| 54 | during virus scanning, it is prudent to arrange that its directory used |
| 55 | for temporary files is exempted from such scanning. Ordinarily, this |
| 56 | will be a subdirectory named "fossil" in the temporary directory given |
| 57 | by the Windows GetTempPath(...) API - you can find its value, for example, |
| 58 | by executing `[System.IO.Path]::GetTempPath()` in a Powershell console. |
| 59 | Excluding this subdirectory will avoid certain rare failures where the |
| 60 | fossil.exe process is unable to use the directory normally during a scan. |
| 61 | |
| 62 | ### <a id='PowerShell'></a>Advanced service installation using PowerShell |
| 63 | |
| 64 |
| --- www/server/windows/service.md | |
| +++ www/server/windows/service.md | |
| @@ -52,12 +52,14 @@ | |
| 52 | |
| 53 | When the Fossil server will be used at times that files may be locked |
| 54 | during virus scanning, it is prudent to arrange that its directory used |
| 55 | for temporary files is exempted from such scanning. Ordinarily, this |
| 56 | will be a subdirectory named "fossil" in the temporary directory given |
| 57 | by the Windows GetTempPath(...) API, [namely](https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-gettemppathw#remarks) |
| 58 | the value of the first existing environment variable from `%TMP%`, `%TEMP%`, |
| 59 | `%USERPROFILE%`, and `%SystemRoot%`; you can look for their actual values in |
| 60 | your system by accessing the `/test_env` webpage. |
| 61 | Excluding this subdirectory will avoid certain rare failures where the |
| 62 | fossil.exe process is unable to use the directory normally during a scan. |
| 63 | |
| 64 | ### <a id='PowerShell'></a>Advanced service installation using PowerShell |
| 65 | |
| 66 |