#--------------------------------------------------------------------------------- # File: FreshStep.eps # # Finds and puts "processinfo" files in upload dir. # # Modifications: # 07/08/2009 Created. # 08/10/2009 Updates "find IP Addr" to account for exceptions # #--------------------------------------------------------------------------------- @echo off; @include "_GetDirectory.epm"; @include "_GenericFunctions.epm"; @include "GenericFunctions.epm"; #--------------------------------------------------------------------------------- int $counter = 1; string $files; string $logsDir; string $projname; string $xmllogsDir; ifnot (_GetLpLogsDirectory($logsDir)){ echo "ERROR - could not location logs directory"; return false; } $xmllogsDir = "$logsDir\\Xml"; echo "$logsDir"; # Get IP Address of Target string $pathParts = Split("\\",$logsDir); string $ipAddrParts; string $ipAddr; int $ipTest = 0; int $in = 0; while ($ipTest