Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. WeiszMCITP

    Deleting Registry Keys that Have Subkeys using an Array

    Hello, I am trying to remove a series of registry keys using a VBS script but I am unable to delete the keys that have subkeys. Keys that do not have subkeys delete appropriately. Here is the section of code I am working with. ------------------------------- Dim strComputer, objRegistry...
  2. WeiszMCITP

    Browse Dialog Box Showing Up Behind Application

    Anyone have any ideas?
  3. WeiszMCITP

    Browse Dialog Box Showing Up Behind Application

    Could you please provide me the code on how to do that?
  4. WeiszMCITP

    Browse Dialog Box Showing Up Behind Application

    Hello, I use the following macro to help our end users save emails messages as a .msg file in Outlook as an archive on our file server. The issue is that sometimes the Browse dialog box shows up behind Outlook which causes the users to think Outlook is hung. Can someone help me force the Browse...
  5. WeiszMCITP

    Browse Folders through Windows Shortcuts Outlook Macro

    Hello, I've created an Outlook Macro that allows a user to selecte an email message, click a button to run my macro, and then select a location to save the email message as a .msg The problem is that I am using the BrowseForFolder command and it does not allow a user to double click a shortcut...
  6. WeiszMCITP

    Recursive Date Modifed Search & Log

    Geates, We've been testing this solution for a couple weeks now and I think it is pretty solid. I'll post the entire code so others can work with it. Thanks! ------ Code ------ const ForAppending = 8 dim intRecursionLevel set objFSO = CreateObject("Scripting.FileSystemObject") set objShell =...
  7. WeiszMCITP

    Recursive Date Modifed Search & Log

    Geates, The output now looks correct but there is a significant amount of false positives (Folders that have been modified within 180 days). Thanks!
  8. WeiszMCITP

    Recursive Date Modifed Search & Log

    Geates, Sorry to be such a pain, but it's getting closer. It is displaying the correct paths now, however it is displaying them multiple times. It appears multiple subsubfolders are causing a log event which logs several of the same folder. The goal is if any file in any of the...
  9. WeiszMCITP

    Recursive Date Modifed Search & Log

    Hi Geates, I too tried the GetParentFolderName parameter but it is not working either. I am still receiving tons of subsubfolders in my log. I'll continue to investigate. -------------- Current Script -------------- const ForAppending = 8 set objFSO =...
  10. WeiszMCITP

    Recursive Date Modifed Search & Log

    I've been trying to make the correct modifications, but havent gotten there yet. Thanks for the help. I'll try to explain better. ParentFolder SubFolder1 SubSubFolder1 SubSubFolder2 SubSubFolder3 SubFolder2 SubSubFolder1 SubSubFolder2 SubFolder3...
  11. WeiszMCITP

    Recursive Date Modifed Search & Log

    Thank you for the reply Geates. I updated the script but the output is not correct. It is displaying subfolders of the subfolders which I do not need to know. I just care about the subfolders of the parent. -------------- Current Script -------------- const ForAppending = 8 set objFSO =...
  12. WeiszMCITP

    Recursive Date Modifed Search & Log

    Geates...I was hoping not to have to bother you again :) Your script works well most of the time but I'd really like to get rid of defining the number of /s its looking for. I'd like it to look recursively all the way down the Subfolders. Additionally, it will sometimes log false positives...
  13. WeiszMCITP

    Recursive Date Modifed Search & Log

    Hello, I am in need of a script that recursively looks through a folder tree, determines if any files in a subfolder have been modified in the last 180 days, and then logs the subfolder if not. This script will be used for archiving data. Example: Parent Folder SubFolder 1 SubFolder...
  14. WeiszMCITP

    Moving Files Based on Modified Data Recursively

    Thank you for the reply Geates. I know this must be tough without true testing. Yes, I want to look at the third level as that is the individual project level. Has anything under the third level changed in the last 6 months? If so, skip, if not, log.
  15. WeiszMCITP

    Moving Files Based on Modified Data Recursively

    Thank you Geates. I've created a new script with your code but there appears to be an issue. It is listing even more subfolders now. Here is the output. ------------------------- Folder | Last Date Modified | Last Date Accessed F:\CAD\00\2D CAD Blocks\People | 9/22/2009 4:47:18 PM | 9/22/2009...
  16. WeiszMCITP

    Moving Files Based on Modified Data Recursively

    Thank you Geates. I do appreciate your work. I made the change but have a question on the output. -------- OUTPUT Folder | Last Date Modified | Last Date Accessed F:\CAD\03\M145137\Walker River\dwg | 9/22/2009 4:49:25 PM | 9/22/2009 4:49:25 PM F:\CAD\04\M027106\DWG\FINAL SET | 9/22/2009...
  17. WeiszMCITP

    Moving Files Based on Modified Data Recursively

    Thanks Geates. I made your changes but could use one more small modification. I'm going to paste the code (I know you said not to but I made some changes) as I made the modfication of logging the results to a text file instead of moving the folder (my boss got a little scared of moving folders...
  18. WeiszMCITP

    Moving Files Based on Modified Data Recursively

    Geates, Sorry to bother you again but I found a gotcha when I moved the script to the production environment. In our production environment we have a parent folder and then subfolders below. The subfolders contain the projects so the script needs to check the folders in each subfolder and...

Part and Inventory Search

Back
Top