I have this script to auto save attachments from outlook in a folder but it only saves attachments from 2 emails at a time. How do I increase this to 3 or 4?
Const olFolderInbox = 6
Set objOutlook = CreateObject("Outlook.Application")
Set objNamespace = objOutlook.GetNamespace("MAPI")
Set...
I have a vbscript that looks at unread emails in an inbox and saves the attachment in a folder. This script works if I click on it manually but hangs when I run it from SQL server 2005. Can some please let me know what could be wrong with it?
Here is the script:
Const olFolderInbox = 6
Set...
I tried this:
I don't get any errors but it doesn't do anything either. Can you see anything wrong?
Sub Unzip
Set fso = CreateObject("Scripting.FileSystemObject")
For Each f In fso.GetFolder("c:\DailySearch\").Files
If LCase(fso.GetExtensionName(f)) = "zip" Then
Unzip f.path...
I need a VB script to unzip multiple different zip folders. I have this script - but it does not work.
Unzip "c:\DailySearch\*.zip", "c:\DailySearch"
Sub Unzip(sSource, sTargetDir)
Set oFSO = CreateObject("Scripting.FileSystemObject")
if not oFSO.FolderExists(sTargetDir) then...
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.