• Rename Printers in logon for Windows Server 2003, with VBScript

    Hi peeps!Another question! This has been buggin me for a while. Right, I have a Windows Server 2003 SP2 domain (Not R2) and i have about 90 Windows XP professional SP3 clients. Now I have at least 3 printers that are being shared. The printer share names are: printer2 printer3 printer4 when staff...

    Philcrox160 pointsBadges:
  • How can I use mscal.ocx on a Windows 7 64-bit machine?

    Hi there, I have some VBA code that works in Excel 2003. It references the calendar in mscal.ocx. Typically, when I've moved it to a new machine (XP, 32-bit), I've had to copy mscal.ocx there and run regsvr32 mscal.ocx and then everything works. But on a new, 64-bit windows 7 machine, with Excel...

    Dbecker20 pointsBadges:
  • Running a VBScript from a batch file

    Hi, I have a VB script that I want ran from a batch file. How do I go about this? See the VBscript below:Dim oFS : Set oFS = CreateObject( "Scripting.FileSystemObject" ) Dim sSrcDir : sSrcDir = "//serverNameFBSurvey" ' Source directory (remote server) Dim sDstDir : sDstDir = "c:SampleDir" & ""...

    Waizkode5 pointsBadges:
  • Automatically insert Date and Time

    Hey there, stupid question but I am having a complete brain fart.  One of my Win7 users wants to create a keyboard shortcut to automatically insert the date and time within Office 2007 programs.  I know there is a easier way to do this than creating a vb script, can anyone refress me on the...

    RamseyB2,115 pointsBadges:
  • Remove character from number VBscript

    how do i remove from 1.5.600 the .600 part? i just need 1.5 I tried left but it seems only works with strings

    Ssergio2545 pointsBadges:
  • VBS to Remotely Make a copy of a File on Multiple Systems

    Hello, I'm trying to edit a vbs script that I found online to help me remotely connect to a few servers (using a servers.txt file) and make a copy of a specific file called test.txt (it’s the same file name and path on all servers but with different configuration for each server) and add the date...

    Blackbird21115 pointsBadges:
  • VB Script to monitor files on Windows machines from a Zenoss server

    This is a script I created last year to monitor some files from a Zenoss server. These files are created by an application that receives CDRs from an Asterisk server in another country, and sometimes these files have stopped getting updated even though no network errors seem to exist, so, the...

    carlosdl65,110 pointsBadges:
  • function block calculation module

    Hello, I would like to know how to read this code and what the outcome would be. its writtin in a calculation function block which typically includes IF-THEN-ELSE, DO-WHILE, etc. statements. out1 := (in2 = 0) ? 0 : ((in1 & in3) > 0); of course in1/2/3 are the inputs, out1 is the output. Is this...

    Mkemaleddine15 pointsBadges:
  • Delete contents of a folder tree with a kill statement

    Would anyone know of a code, or be able to point me to one, that will delete all files and folders under a given location.  I am looking to schedule the empting of temp folders and would like it to be all inclusive.  If a kill statement is needed also to force delete folders and there content...

    ConFlicker210 pointsBadges:
  • VBS – Taking input from one spreadsheet and output to another

    Hello, I am hoping someone can shed some light as I am at a complete lost. I am using an excellent script written by Ralph Montgomery named NTUser.wsf for account audit purposes and I am attempting to modify it to suit my needs. The script, in its native format, prompts for a username upon...

    Fsck15 pointsBadges:
  • VBScript to file compare

    Is there a way to make a VBScript that will get a word from FileA.txt and look for it in FileB.txt. If the word(not the whole line) is found in FileB.txt, then write it in FileC.txt.  ?

    DSTib5 pointsBadges:
  • Visual Basic script to get Sysinfo

    Hello I am having problems with a VB Script this is what I want to achieve: 1) Check a machine if is active on the network 2) Find the current logged in user 3) Gather the Service Pack Version 4) Display all information into Excel 5) Highlight in redf which machines are online or offline 6)...

    Oh2abq5 pointsBadges:
  • How to remove spaces from text lines in Visual Basic script

    I have a script that reads a text file and replaces a character string with a new string. The problem is that the data following the new string has spaces that are causing a problem. For example, here is how my data looks prior to running the script Joe Manager Bob Eric Manager Freddy What I am...

    Ilneval5 pointsBadges:
  • How to create a progress screen for use with a VB Script Logon script?

    Hi I have recently created a VB Script to replace the existing Kix logon script. The VB Script Disconnects the network drives and then maps the drives depending on the users security group membership via active directory. The Printers are then mapped and the default set depending on the user group....

    Sharlene55 pointsBadges:
  • Uploading attachments to QC using VBScript

    I am able to add attachments to a test in Test Plan module of QC,bt the problem is, if i attach a file i cant be able to attach more other files,it allows only one file to a test in a specific folder of Test plan module

    Qwerty7775 pointsBadges:
  • Help running a CmdEXEC from the SQL Server

    I am trying to run a CmdEXEC from the SQL Server- script c:userspublicdocuments The process could not be created for step 1 of job 0xAA781DCB64C4D84392B6730923A77C3D (reason: The system cannot find the file specified). The step failed any help?

    Tocken10 pointsBadges:
  • Word 2003/2007 VBScript fails in 2010 (background printing) – help!

    Hi script wizzards..., i cobbled this together from info on the web but i dont know hardly anything about scripting - i'm a COBOL propgrammer! Works with word 2003/2007 (has been for some time) but not in word 2010. The background printing commands fail (e.g. objWord.Options.PrintBackground =...

    LindenR5 pointsBadges:
  • How to remove specific lines from a text files using either vbs or bat.

    We have a text file that is a result of an export from an application we have. We use the following bat file to rename and remove blank lines from it based on the way it exports the export options/format cannot be changed. I would like a way to add to this bat file a method to remove specific lines...

    swinehart68031,050 pointsBadges:
  • VBscript for Windows Server 2003 SP2

    Hi! im pretty new to vbscript and would like to know if any of you know a good book to buy or a website with reference guides im wanting to rewrite all my logon scripts for my school from scratch and make it work for me! now im used to "for dummies" guides but i cant see any for this. hope some one...

    Philcrox160 pointsBadges:
  • Visual Basic scripting

    how can i run batch files using vb scripting

    W125 pointsBadges:

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following