Thanks. Ive tried with the change but it still complains about the ElseIf statement:-
The following Script Error was found
(Line9):ElseIf ubound(Filter(Str2, Label)) Then Response.write "Keep Frozen": Syntax error
Thanks For the reply, this is what I have but if doesnt like the ElseIf statement?
Dim Str1, Str2, Field1
Str1 = Array("30", "35", "40", "45", "68", "71", "72", "80", "86", "87", "88", "YY")
Str2 = "RR"
Field1 = ReferenceField("39363895.Field 1")
Label(Left(Field1, 2))
If ubound(Filter(Str1...
Hi. I'm looking for a script to look at the first 2 characters of a field and match to a defined list and if those 2 characters match 2 characters from a list output some text, if not output some other text.
Example
Field content
22111
33111
44111
55111
List content
22
33
44
55
Thanks
Hi, I have a VBScript that will install software on users machines based on a registry check. One of the pieces of software it needs to install is .net framework. Now a lot of the machines users are not local admins of their machine, how can I run this line of the script with runas without the...
Thanks ive already done this and looked at some apps, but I cannot find any I can roll out through GPO and maintain the wording of what it says or the appearance of the app centrally.
Hi Thanks for the reply. We are looking to have a "Countdown" ie "21 days 7 hours 31 mins to the lauch of...." on the users desktop reminding them of an event / launch that's taking place.
Cheers
Hi, Im hoping someone can help with this. We are looking for an App / Widget / Gadget / Script that will put a countdown onto specific users desktops either through GPO or a central Application. Can this be done and how? This would be on Windows 7 Machines. We are looking to use this on a...
Hi, im having an issue with the below. It runs ok however, what I would like it to do is if an error is found with connecting to a computer from the list specified, output the error but continue onto the next machine in the list. What is happening is it comes across a machine, reports the...
Im looking at copy and paste within outlook as a remote app. I cannot copy a message from the Outlook remoteapp onto my local desktop. I can copy and paste an attachment within a message from the Remoteapp Outlook to my desktop just not the Message file, can anyone help? Ive tried the rdpclip...
Hi, im looking at Moving data older than 120 days from one database Table to another database Table. I have tested using the Select * INTO table name from OriginalTable where FieldDate < dateadd(day, -120, getdate()). This inserts the data over 120 days old into the Table on the 2nd Database...
Hi, I have a Batch file that when i run under a Command Prompt works perfect, it connects to a linux server checks the space on the server using sendkeys and outputs this into a File, i then copy this file into a text file. Whenever i try to run this using Task Scheduler the job runs however as...
Hi, can anyone please let me know the best procedure to breakout of a SQL 2005 Cluster Setup to an Standalone SQL Server Setup but retain my databases, users and jobs?
Many Thanks
Chris
Hi, i hope somebody can assist. I was just wondering if i can change the Max Memory Setting within SQL while the Server is active or am i best to wait until it is least active? In other words will it drop connections or cause any issues changing the setting while the Databases are in use...
Hi, Thanks for the response, i had just found and then your post came through, yeah it's sending the content to log then not passing any of this on to the remainder of the script, hence Null.
Thanks
Chris
Just an update to this, i have ran this in a powershell window and now what i get is:-
Get-Content : Access to the path ... is Denied
I think this is what is causing the arror above as it cannot get the contents. How can i retreieve the contents of a folder that is in a different location...
I have a little problem when running this powershell script form a central location. If i run from a central location i keep getting:-
Get-Content : Cannot bind argument to parameter 'Path' because it is null.
and
Set-Content : Cannot bind argument to parameter 'Path' because it is null.
If...
I have the following VBSCript that is doing an LDAP query but is only pulling back 1000 records, can somebody please explain why:-
' VB Script Document
Option Explicit
On Error Resume Next
WScript.Echo "Beginning Script Execution: " & Now
Dim objWMIService, objItem, objDom, objProvider...
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.