Fossil SCM

Give the correct way to figure out the temporary directory used under Windows.

danield 2023-03-11 23:49 trunk
Commit 4e688dc0f9fe8161c4c0c2905aa775a2399d67d5ee81a882fa9306e8c1aa8b41
--- www/server/windows/service.md
+++ www/server/windows/service.md
@@ -52,12 +52,14 @@
5252
5353
When the Fossil server will be used at times that files may be locked
5454
during virus scanning, it is prudent to arrange that its directory used
5555
for temporary files is exempted from such scanning. Ordinarily, this
5656
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.
5961
Excluding this subdirectory will avoid certain rare failures where the
6062
fossil.exe process is unable to use the directory normally during a scan.
6163
6264
### <a id='PowerShell'></a>Advanced service installation using PowerShell
6365
6466
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button