> cool solutions home   > cool tools home
Stream File Utility RLSTRSRC 1.2 for NDS
Searches and replaces a NDS object's stream attribute value from a command line.
Reader Rating    from ratings rate this article
View a Printer Friendly Version of this Page Send this page to a friend
vitals
Updated: 1 Mar 2004
Created: 15 Oct 2003
File Size: 39KB
License: Free
Download 1:  rlstrsrc.zip
Download 2: rlstrsrc.zip
Publisher: Rick Laughinghouse
E-mail: rick_laughinghouseTAKETHISOUT@yahoo.com
disclaimer
Please read the note from our friends in legal before using this file.
details

Usage:RLSTRSRC Object AttrName SearchStr ReplaceStr [/D1]

Object -- Distinguished Name of the NDS Object to search.
AttrName -- The object's stream attribute to search.
SearchStr -- String to search for in the stream attribute value.
ReplaceStr -- String that replaces the search string OR [/S] switch.
      [/S] Searches and displays the number of times the search string is found. NO changes are made to the stream attribute.
/D1 - Diplays the stream value with changes that would be made. NO changes are made to the stream attribute (Debug Mode).
/? Help -- Displays Help.

Examples:
RLSTRSRC .Object.OU.O AttrName SearchStr ReplaceStr
RLSTRSRC .Hamptons.OU.O "Login Script" "MAP ROOT" "MAP R"
RLSTRSRC Jerry "Login Script" "Good Morning" "Yada Yada Yada"
RLSTRSRC BubbleBoy "Login Script" "GOTO" /S
RLSTRSRC Kramer "Login Script" "Nothing" "NOTHING" /D1

Stream file attributes include Login Scripts, and many ZENworks object attributes (i.e., App:Registry Settings, App:Copy Files, and App:INI Settings.) Stream File utilities will display the contents of a stream file, search and replace stream files, and synchronize stream files between objects.

Also see also RLSTRSHW v1.1 for NDS, which shows an NDS object's stream attribute value from a command line, and RLSTRSYN for NDS, which synchronizes an NDS Object's stream attribute value from a command line.