The CA DMM scripts use the following store commands:
Retrieves the contents of a directory from the source computer. This command takes the directory path parameter as a string value.
The Directory path (string value)
StoreDirectory( "c:\\My Documents");
Retrieves a file from the source computer. This command takes the file path as the parameter as a string value and recognizes the asterisk (*) as a wildcard.
The File path (string value)
StoreFile( "c:\\temp\\file.txt");
StoreFile( "c:\\temp\\*.txt");
Retrieves a registry key or an ini file section and all of its values from the source computer. This command takes the key path parameter as a string value.
The Key path (string value)
StoreKey( "HKCU\\Software\\Microsoft\\Office\\8.0\\Word\\Options" );
Retrieves a file from the source computer. If the data of the files specifies a directory path, it is mapped to the appropriate path. This command takes the key path parameter as a string value.
The File path (string value)
StoreMappedFile( "c:\\temp\\file.txt");
Retrieves a registry key and all its values or an ini file section and all its values from the source computer. If any of the value names or value data is a directory path, they are mapped to the appropriate path. This command takes the key path parameter as a string value.
The Key path (string value)
StoreMappedKey(<Key path >);
StoreMappedKey( "HKCU\\Software\\Microsoft\\Office\\8.0\\Word\\Options" );
Retrieves a registry key, all its values and all its sub keys from the source computer. If any of the value names or value data is a directory path, they are mapped to the appropriate path. This command takes the key path parameter as a string value.
The Key path (string value)
StoreMappedSubKeys(<Key path >);
StoreMappedSubKeys( "HKCU\\Software\\Microsoft\\Office\\8.0\\Word\\Options" );
Retrieves a registry key value or ini file section value from the source computer. If the value name or value is a directory path, it is mapped to the appropriate path. This command can take three parameters that are string values. The first two parameters are required. The first parameter is the registry key path. The third parameter, is the delimiter, is optional, and is a string value.
The Key path (string value)
The Value name (string value)
The delimiter (string value)
StoreMappedValue( <Key path>, <Value name>, [delimiter] );
StoreMappedValue( "HKCU\\Software\\Microsoft\\Office\\8.0\\Common\\Toolbar", "Tooltips");
StoreMappedValue( "HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\App Paths\\Navw32.exe", "Path", ";");
Retrieves a registry key, all its values and all its sub keys from the source computer. It takes the key path parameter in a string value.
The Key path (string value)
StoreSubKeys( "HKCU\\Software\\Microsoft\\Office\\8.0\\Word");
Retrieves a registry key, all its values and all its sub keys from the source computer. If any of the value names or value data is a directory path, they are mapped to the appropriate path. This command takes the key path parameter in a string value.
The Key path (string value)
StoreMappedSubKeys(<Key path >);
StoreMappedSubKeys( "HKCU\\Software\\Microsoft\\Office\\8.0\\Word\\Options" );
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|