Ooooo - that sounds like it might be my best solution to date, Captain - thanks!
I was looking into Robocopy but hadn't gotten too deep with it - I will try your recommendation and report back, Sir! :)
FYI - I'm not copying everything into the archive. There are hundreds of directories/sub...
Thanks Guitarzan, but without the complete syntax I won't be able to use your example. It looks like you are on the right track but I don't know how to "write" script and I'm not able to plug someone else's example of MoveFiles into this script if it has even slightly altered syntax (which...
Hi All,
I have a 450,000+ row Excel doc listing files from different directories that I need to move to a new location and maintian directory structure.
Examples:
'N:\HR\Policies\evacuation.xls' needs to be moved to 'N:\Archive\HR\Policies\evacuation.xls' (Destination does not exist)...
I'm not strong in VBS but I still thought it was the right tool for the job. I'm actually less familiar with VBA / Excell scripting but I will definately post in that forum as you suggest, hopefully between the 2, someone will be able to help me develop the solution.
Thanks!
Cheers,
-Chris
Hi All,
I have a 450,000 row Excel doc listing files from different directories that I need to move to a new location and maintian directory structure.
Examples:
'N:\HR\Policies\evacuation.xls' needs to be moved to 'N:\Archive\HR\Policies\evacuation.xls' (Destination does not exist)...
Hi All,
Below is a script I've been working with for some time - works very well. I need to modify it and am not sure how. Currently this will give me last modified of all files in all subdirectories. Simply enter the directory, enter where I want the output .txt to go and enter how many days...
Thanks Jason!
I ended up working with another Tek-Tips expert, Geates, and resolved through a vb script. Not only will I give you a Star, I'll test your solution (when time allows) and report back.
Thanks again!
-Chris
After further review ....
We're not picking up the right info with the script above. It looks like the script is just listing all folders (and modified date) it doesn't seem to care about the criteria we've set ....
Whaddya think is the issue?
Thanks!
Ok, we're getting close - I can taste it!
It looks like the script is getting the correct info but it just displays it in a Windows Script Host window – doesn’t write it to C:\log.csv and all I can do is close the window (can’t copy the text).
log.csv is created but the data isn't written to...
Hi!
I have a ton of directories and subdirectories under a network share (H:). I need to identify any directory not modified since a certain date (10/1/2009) and list them in a file - .csv would be swell but obviously .txt would be fine too.
I've been tryting to get this done via vbs but just...
Ha! Good point!
So we have an error:
Error: Expected literal constant
Line: 3
Char: 48
Here's what I put together:
CONST strFolder = "F:\_WD\Pers"
CONST intAge = datediff("d", "10/1/2009", now) '772days
set objFSO = CreateObject("Scripting.FileSystemObject")
set objShell =...
Thanks a MILLION Geates!
I'll check it out in the morning and see where we're at.
I really do read through the scripts and try to understand what's going on - some of it I understand, but alot of it is just beyond me - especially cause there seems to be endless ways to "skin the cat" in vbs...
Thanks Geates but where's the end of the script?
Honestly, if I knew how to script I wouldn't need someone to do it for me. Even side by side (the 2 scripts together) I can't figure out how to end your script ...
I do appreciate you're help (and your quick response on my last post!).
Thanks Geates!
I'm trying to use the second option you gave me here but having issues. The second option thread329-1663859: Recursive Date Modifed Search & Log) is used to list all files accessed within the last 180 days. I need a script that tells me all the folders (and subfolders) NOT...
Hi!
Help! :P
I have a ton of directories and subdirectories under a network share (H:). I need to identify any directory not modified since a certain date and list them in a file - .csv would be swell!
I've used the following cmd to extract the directory data but it isn't giving me the...
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.