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...
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...
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...
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 =...
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...
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 =...
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...
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 =...
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...
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...
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.