I could not find a forum specifically for VBScripting. Can you use a Array.Sort method in VBScript or do you have to build a manual system for sorting? If so, where the heck would I start? :confused: Thanks in advance.
When I previoiusly ran though the code (very quickly, was in the middle of job duties) it didn't seem to have that ability. I will spend some time on the suggested code to better understand and see if it will cover what I am looking for.
Paszt, that helps out a bit. The only problem is that I need to do a date comparison for each file. I need to go in and compare the date of the file to the last run date of the application, and copy it if it the files date is newer then the last run. I would also like to build a lable control...
Here is the code i've come up with. I am sure it's got problems, but it's definately a start. :) Please offer some suggestions.
For Each dirName In dir
file = System.IO.Directory.GetFiles(dirName)
For Each fileName In file
totFileLoc = dirName & fileName
currDate =...
Ok, i just found the "System.IO.Directory.GetFiles(ByValString, ByValString)String()" after digging a bit and I beleive it will place the name of files into an array for me. This would be great. If i can build that array, I can then build a "For Each" to compare the dates for each var in the...
*Code inside* File.GetCreationTime and For Each... Question
Well, it stands obvious i am building a app to do some simple stuff. Bassically I'm trying to make it pull a date from a text file. Then compare that date to the creation date of files in a directory with multipe sub directories.So...
I've been digging through options with no luck. It's not death do us part but would be nice. If anything, maybe I can figure out how to make a *.exe auto close its self. If i could do that, i'd much rather go that route. Does anyone have any idea's of how to do this?
!EDIT!: Scratch that last...
Hello, i've been in school for about 1 year now and only the last semester have we been doing any programming. All I know how to use at the present time is COBOL and VB.net. I'm not highly proficient in either but i know enough to work my way though. I've built quite a few scripts for where i...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.