In some cases, naming computers, naming log files, etc having a ramdom value is helpful. I found a quick way to accomplish this using a VBS include line in the CS.ini.
RamdomNumber = #Randomize: Replace((RND()*10),”.”,””) #
Will produce a fairly short random number(ie. 7055475).
This can now be used throughout your INI.
Hi,
seems to give the same number everytime (at least in my tests), nuber is 7055475 every time. In VBS you normally use the RANDOMIZE function to avoid this – any ideas how to do this in the customsettings.ini?
Cheers — Markus
Your right, give this a shot to include both the Ramdomize and the desired line of code.
RamdomNumber = #Randomize: Replace((RND()*10),”.”,””) #
The “:” is a special char that acts in VBscript as a line break.
-Brian G