All Forums >> [Scripting] >> WSH & Client Side VBScript >> moving files based on extension with file object Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Hey guys i am working on a script to move files from a network location to a local LUN. Currently I have gotten the date diffrence to work but am having trouble to get it to only echo or move files of extension ".log". The netwrok path will have multiple file type in it so just moving the files with extension .log is what i am needing. i have tried acouple diffrent ways and have came up empty handed on only echoing/ moving log files. Thanks for any hep, i am sure its a simple if statement that i can't find the right place for.