A couple of observations

1. Code works good for 1 file and path used in code.

2. Code does not support locating/displaying multiple added files (but was not requested by original requester)

3. Change of path seems to disable script from finding newly copied or created files.
ie.

Adding files to a subfolder named RELEASE under the location of where the script was launched works with this.

$dir=@scriptdir+"\release\"

Changing the code to use this path prevents code from finding changes. It finds the NEWEST file, but no addition of files.

$dir="C:\WINDOWS\SYSTEM32\"

Using KIX32.EXE v4.21 on Windows XP w/SP1

[ 08. October 2003, 18:23: Message edited by: NTDOC ]