Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. cumpleby

    Vbscript if first 2 characters

    Perfect, that's got it, thank you.
  2. cumpleby

    Vbscript if first 2 characters

    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
  3. cumpleby

    Vbscript if first 2 characters

    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...
  4. cumpleby

    Vbscript if first 2 characters

    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
  5. cumpleby

    RunAs within VBScript

    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...
  6. cumpleby

    Windows 7 Desktop with Countdown

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

    Windows 7 Desktop with Countdown

    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
  8. cumpleby

    Windows 7 Desktop with Countdown

    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...
  9. cumpleby

    VBS If Err Clear

    Pefect, works a treat, just needed a Loop at the End. Thank you for the quick response.
  10. cumpleby

    VBS If Err Clear

    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...
  11. cumpleby

    Microsoft remoteApp and Outlook Copy and Paste

    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...
  12. cumpleby

    SQL Server 2005 - Move data between Databases

    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...
  13. cumpleby

    Task Scheduler - Batch File - SendKeys

    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...
  14. cumpleby

    SQL Server 2005 Break out of Cluster Setup

    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
  15. cumpleby

    SQL 2005 on Windows 2008R2 - Max Memory Setting

    Thanks for the response, I made the change and it worked fine while active.
  16. cumpleby

    SQL 2005 on Windows 2008R2 - Max Memory Setting

    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...
  17. cumpleby

    Find and Replace

    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
  18. cumpleby

    Find and Replace

    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...
  19. cumpleby

    Find and Replace

    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...
  20. cumpleby

    LDAP Query with VBScript limiting to 1000 records

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

Part and Inventory Search

Back
Top