VDS Renaissance のインターフェースは複数の言語に対応しています。公式ドキュメントは、単一で一貫した常に最新のリファレンスを保証するため、英語で管理されています。
@WINDIR
Windows ✓Linux ◐macOS ⏳
Syntax
@WINDIR(<parameter>)
Description
This function returns the full path of the Windows directory or any of the Windows shell folders, such as the Desktop, the My Documents folder and so on. It can also return the location of the Windows, System and Temp folders.
The <parameter> value may be one of:
| (null) | Windows folder |
| S | Windows System folder |
| T | Temporary folder |
| Desktop | User's desktop folder |
| Personal | User's "My Documents" folder |
| AppData | User's Application Data folder |
| Local AppData | User's local Application Data folder |
| Local Settings | User's Local Settings folder |
| Cache | User's Internet Explorer cache folder |
| Programs | User's Start Menu Programs folder |
The full list of valid parameters is dependent on the version of Windows, but can be found by examining the result of the command:
LIST REGVALS,x,HCU,Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders.
OK
Unchanged.
Example
%W = @WINDIR()
REM On most systems %W will now contain C:\Windows