|
Create a single directory on the server.
See also: DirectoryForce
Yes=The create went OK
No=There was a problem.
<cfx_kmSystem F=DirectoryCreate V=variable SHOW
DIR=text >
| Attribute | Description | Required? |
| DIR | Subdirectory pathname. | YES |
Yes=Subdirectory exists.
No=Subdirectory could not be found.
<cfx_kmSystem F=DirectoryExists V=variable SHOW
DIR=text >
| Attribute | Description | Required? |
| DIR | Subdirectory pathname. | YES |
| Examples | |
|
<cfx_kmSystem F=DirectoryExists DIR="C:\temp">
<cfx_kmSystem F=DirectoryExists DIR="C:\temp\junk"> |
|
| Result: |
YES NO |
Yes=The create went OK
No=There was a problem.
<cfx_kmSystem F=DirectoryForce V=variable SHOW
DIR=text >
| Attribute | Description | Required? |
| DIR | Subdirectory pathname. | YES |
Yes=The remove went OK
No=There was a problem.
<cfx_kmSystem F=DirectoryRemove V=variable SHOW
DIR=text >
| Attribute | Description | Required? |
| DIR | Subdirectory pathname. | YES |
Number of disk bytes free.
<cfx_kmSystem F=DiskFreeSpace V=variable SHOW
DRIVE=letter >
| Attribute | Description | Required? |
| DRIVE | Optional drive letter, default=current drive. | no |
| Examples | |
|
<cfx_kmSystem F=DiskFreeSpace DRIVE="C">
|
|
| Result: | 4920180736 |
Total number of bytes on the disk.
<cfx_kmSystem F=DiskSize V=variable SHOW
DRIVE=letter >
| Attribute | Description | Required? |
| DRIVE | Optional drive letter, default=current drive. | no |
| Examples | |
|
<cfx_kmSystem F=DiskSize DRIVE="C">
|
|
| Result: | 7853768704 |
UNC file path name.
<cfx_kmSystem F=ExpandUNCFileName V=variable SHOW
FILE=text >
| Attribute | Description | Required? |
| FILE | A local file name. | YES |
The clipboard text, if any. If no text was available, the return value is blank.
<cfx_kmSystem F=GetClipboardText V=variable SHOW >
<cfx_kmSystem F=GetDomainName V=variable SHOW >
<cfx_kmSystem F=GetIPAddress V=variable SHOW
DOMAIN=domain-name >
| Attribute | Description | Required? |
| DOMAIN | Optional domain name. Default=The web server's local domain. | no |
<cfx_kmSystem F=GetLocalComputerName V=variable SHOW >
<cfx_kmSystem F=GetLocalUserName V=variable SHOW >
<cfx_kmSystem F=GetRegisteredCompany V=variable SHOW >
<cfx_kmSystem F=GetRegisteredOwner V=variable SHOW >
System directory.
<cfx_kmSystem F=GetSystemDir V=variable SHOW >
| Examples | |
|
<cfx_kmSystem F=GetSystemDir>
|
|
| Result: | C:\WINDOWS\SYSTEM\ |
Returns the amount of free physical memory, in kBytes.
Further information is returned in the following variables:
kmTotalRam - Total physical memory, in kBytes.
kmUsedRam - Physical memory used, in kBytes.
kmTotalSwap - Total swap file capacity, in kBytes.
kmUsedSwap - Used swap file capacity, in kBytes.
<cfx_kmSystem F=GetSystemMemory V=variable SHOW >
Temp directory.
<cfx_kmSystem F=GetTempDir V=variable SHOW >
| Examples | |
|
<cfx_kmSystem F=GetTempDir>
|
|
| Result: | c:\windows\TEMP\ |
<cfx_kmSystem F=GetUserDomainName V=variable SHOW
USER=text >
| Attribute | Description | Required? |
| USER | Optional user name. Default=The web server's current local user account name. | no |
<cfx_kmSystem F=GetVolumeName V=variable SHOW
DRIVE=drive-letter >
| Attribute | Description | Required? |
| DRIVE | Optional drive letter, default=C: | no |
<cfx_kmSystem F=GetVolumeSerialNumber V=variable SHOW
DRIVE=drive-letter >
| Attribute | Description | Required? |
| DRIVE | Optional drive letter, default=C: | no |
<cfx_kmSystem F=GetVolumeFileSystem V=variable SHOW
DRIVE=drive-letter >
| Attribute | Description | Required? |
| DRIVE | Optional drive letter, default=C: | no |
Windows directory.
<cfx_kmSystem F=GetWindowsDir V=variable SHOW >
| Examples | |
|
<cfx_kmSystem F=GetWindowsDir>
|
|
| Result: | C:\WINDOWS\ |
YES if the operation went OK. NO if there was a problem.
<cfx_kmSystem F=SetClipboardText V=variable SHOW
STRING=text-string >
"Yes"=All OK.
<cfx_kmSystem F=ShellExec V=variable SHOW
FILE=file-pathname
ACTION=exec-option
PARAMETERS=cmd-params
DIRECTORY=default-dir >
| Attribute | Description | Required? |
| FILE | Required path name of the file. | YES |
| ACTION |
Optional exec action to be taken. Default="open". "open" - Open (or execute) the named file. "print" - Print the named file. |
no |
| PARAMETERS | Optional command line parameters to be passed to the executing file. | no |
| DIRECTORY | Optional directory to set as "current" for execution of the file. | no |