The following are the store commands used in CA DMM scripts:
Retrieves a directory's contents from the source machine. This command takes one parameter that is the directory path and is a string value.
The Directory path (string value)
StoreDirectory( "c:\\My Documents");
Retrieves a file from the source computer. This command takes one parameter that is the file path and is a string value. This command recognizes the asterisk (*) as a wildcard.
The File path (string value)
StoreFile( "c:\\temp\\file.txt");
StoreFile( "c:\\temp\\*.txt");
Retrieves a registry key and all its values or an ini file section and all of its values from the source computer. This command takes one parameter that is the key path and is 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 any of the file's data specifies a directory path, it is mapped to the appropriate path. This command takes one parameter that is the file path and is 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 one parameter that is the key path and is 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 subkeys 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 one parameter that is the key path and is 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 and the second parameter is the value name. The third parameter, which 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 subkeys from the source computer. It takes one parameter that is the key path and is 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 subkeys 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 one parameter that is the key path and is a string value.
The Key path (string value)
StoreMappedSubKeys(<Key path >);
StoreMappedSubKeys( "HKCU\\Software\\Microsoft\\Office\\8.0\\Word\\Options" );
|
Copyright © 2013 CA.
All rights reserved.
|
|