I think I got it now
'Option Explicit
'On Error Resume Next
'==========================================================================
' VARIABLE DECLARATIONS
'==========================================================================
Dim objFSO, strInput, strOutput, strLine, objEmail...
Bummer,
I thought this script was working, but it's not. I clearly had some errors in the errorlog yesterday that didn't get picked up. I want to look through this log for the word error, starting at yesterday's date and checking through todays. Here's the code, if I leave the variable...
I think I figured it out
'==========================================================================
'
' NAME: Error Log File Check by Date.vbs
'
' AUTHOR: Gene Magerr
' EMAIL: genemagerr@hotmail.com
'
' Comment: This script checks the file \\Shcwebtrans\logs\shipconfirmemail.log for
' the word...
Hi,
I have a log file I must look through each morning to see if there were any failures the previous day. Here's a small sample
1/16/2013 1:40:00 PM | Starting process ==========================================================
1/16/2013 1:40:00 PM | Import ERP order email data...
1/16/2013...
I have another problem. If I run the script twice, it doubles all of the stuff i'm adding the first time. Anyway to check if PPW-OFU is in the filename, if it is just skip renaming that file? I want to rename only files with their original filename
Thanks
Skip,
I'm not sure what you mean by check out the assignment of variable t? Variable t is producing the 5.3.22 AM and I need it to read 05.03.22 AM. How can I format the Hour(Time) Minute(Time) and Second(Time) to do that?
Thanks
I am trying to rename files in folders with the name of the folders in which they reside, the date and time and some other things. I would like the time to read 05.03.22 AM and it's coming up 5.3.22 AM here's the code, can someone assist with the time portion?
Thanks
Call...
PHV,
I've been trying to add the header in the script all morning. I am not sure how to get it to insert outside of the loop. I'
ve moved it all around, but with no success. It always seems to wind up in the loop somehow. If I move it about the "Do While Not" the file comes out blank. I'm...
Hi,
I have two scripts. One gets me drive space for a list of servers, and the other will add a header to the top of the text file created by the first script. If I run them as individual scripts, it works fine. When I try to add the script that writes the header into the script that generates...
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.