Search found 10 matches

by JoeBo747
Thu Nov 10, 2005 5:23 pm
Forum: Technical / Scripting
Topic: Compare date string
Replies: 9
Views: 11301

I think I have jumped the gun, The script still returns the first message no matter what the two dates. FileDate>\\server\sys\WINDATA\Anti_Virus_Updates\Current\VSCANDAT1000\DAT\0000\update.ini,MyFileDate Month>month Day>day Year>year if>%myfiledate%%year%%month%%day% %myfiledate%, endif And: if>%my...
by JoeBo747
Thu Nov 10, 2005 5:08 pm
Forum: Technical / Scripting
Topic: Compare date string
Replies: 9
Views: 11301

Thanks :lol:
by JoeBo747
Thu Nov 10, 2005 4:47 pm
Forum: Technical / Scripting
Topic: Compare date string
Replies: 9
Views: 11301

Compare date string

I want to compare the date of an update file on the server to todays date and then send an e-mail if the Date and my the update file do not match. I have tried the following but the test returns the second message box no matter what the date are. FileDate>\\server\sys\Anti_Virus_Updates\Current\VSCA...
by JoeBo747
Thu Sep 15, 2005 3:45 pm
Forum: Technical / Scripting
Topic: Send command sequence
Replies: 0
Views: 3447

Send command sequence

I have tried the following code to open a program and send the keystroke combination "ALTu" this results in the character U being placed in a logon box, which is not what I want. I have tried recording the keystroke but with same result. :cry: Run Program>S:\copy of SOV.BAT WaitWindowOpen>c:\WINDOWS...
by JoeBo747
Fri Sep 09, 2005 2:35 pm
Forum: Enhancement Suggestions
Topic: Test for open files
Replies: 6
Views: 13957

I don’t know if I am wrong in what I am trying to achieve> I have adapted your code as follows, if I try to zip the file logon.rnd I get a complaint that the file is in use when I test the file with the code it returns “Not Lockedâ€Â
by JoeBo747
Fri Sep 09, 2005 11:51 am
Forum: Enhancement Suggestions
Topic: Test for open files
Replies: 6
Views: 13957

Thanks for the responce. I have looked at sample code for VBScript file system object, but cannot find a reference to the open status of the file. Could you give me a pointer. :?:
regards
by JoeBo747
Fri Sep 09, 2005 8:31 am
Forum: General Discussion
Topic: Test for open file
Replies: 1
Views: 4224

Test for open file

This is the second posring of this question, I think I posted it in the wrong area first time :!:

Is it possible to loop through a files and return an error if any are in an open state. :?:
by JoeBo747
Fri Sep 09, 2005 7:58 am
Forum: Enhancement Suggestions
Topic: Test for open files
Replies: 6
Views: 13957

Test for open files

Is it possible to loop through a files and return an error if any are in an open state. :?:
by JoeBo747
Thu Sep 08, 2005 9:14 am
Forum: General Discussion
Topic: Create object error
Replies: 4
Views: 8082

Obviously I am new to scripts, need to do some reading. Many thanks for your contribution.

Regards
Joe
by JoeBo747
Thu Sep 08, 2005 8:47 am
Forum: General Discussion
Topic: Create object error
Replies: 4
Views: 8082

Create object error

When I attempt to run a simply script: Const OverwriteExisting = TRUE Set objFSO = CreateObject("Scripting.FileSystemObject") objFSO.CopyFile "C:\svnzip\*.txt" , "B:\", OverwriteExisting I get the message; Specified Window "objFSO("Scripting.FileSystemObject") Not Present ANy script I attempt to run...
Sign up to our newsletter for free automation tips, tricks & discounts