• VBScript and Key down syntax

    I am trying to run this program below. The portion that is commented out (the if statement) is not working. Obviously I've got the wrong syntax or it's not possible. What I'm trying to do is to click F10 every 12 seconds until I hit the escape key, or until it has gone through it the number of...

    PatMT5 pointsBadges:
  • Escaping special characters in run with administrator privileges script

    Hello, reviving an old one on this forum: http://itknowledgeexchange.techtarget.com/vbscript-systems-administrator/special-characters-in-vbscript-strings/ I used this script: Here is a VB Script Vall Script that will get around the Password Prompt when "RunAs" is called... 'Start...

    Devnullius5 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:
  • Log file copy time

    Is it possible to log how long it takes for a file to copy from one location to another? I am using Windows and wanted to output to a text file how long a file transfer took. Can anyone help with this process?

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

    carlosdl69,365 pointsBadges:
  • VB Script to delete old files fom the local and/or remote computer(s)

    We have many applications running on many different servers, which log their operations to text files. We learned how problematic this could be when one of our servers crashed because the hard disk was completely full.  Someone was supposed to be monitoring disk usage on this server, but that...

    carlosdl69,365 pointsBadges:
  • Set Page orientation

    Can anyone help identify how to set the Page Layout Orientation of an XLSX file in VBS?  I am using the below script example for reference. Set obj = CreateObject("Excel.Application") Set objWorkbook = obj.Workbooks.Open("C:pathtest.xlsx") obj.ActiveSheet.PageSetup.Orientation = xlLandscape...

    ConFlicker210 pointsBadges:
  • Autoprint to PDF Printer

    Does anyone know if there is a script (VBS, BAT or otherwise) that will send a requested file (xls, doc, txt) to a local installed PDF printer and render it without user intervention?

    ConFlicker210 pointsBadges:
  • VBS output to text

    How do I change this code to: instead of poping up a window, to output the results to a text file? ''create a connection object set connObj = CreateObject("ADODB.Connection") ''create a command object set cmdObj =   CreateObject("ADODB.Command") ''set the properties connObj.Provider =...

    ConFlicker210 pointsBadges:
  • Verify NTP

    VBScript to verify a NTP Time source

    JCL5 pointsBadges:
  • vb script to fetch data frm sql into a sheet

    can any one post the vb script to fetch the data frm sql database into a sheet..

    Mademoiselle5 pointsBadges:
  • Vb Script to get the selected(focussed) file names in a windows folder.

    I am trying to get the file names of all the files that has been selected in a folder into an array. Please help

    Sidaga5 pointsBadges:
  • IT Scripts compilation

    This is just a small compilation of questions in which a script was provided as part of the answer. Having them under the IT Scripts tag could help others find them when needed. A small Windows' bat script to dinamically construct a SQL Talk backup script according to the current system date: Embed...

    thongtarget21485 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:
  • CreateObject(“Scripting.FilesystemObject”) in VBScript

    I currenly have a HTA that has alot of code. Part of the code displays a pop up message with the usersname to confirm we are working with the correct client. I Couldnt use WMI since all of our laptops block WMI quiries so I had to get inventive. All computers here have a default share. The script...

    JesseAGreen15 pointsBadges:
  • Finding an extension -VBSCRIPT

    I need help with a script I am working on. I am looking to find a file by extension, put that script in the All Users profile and have it run on startup. The problem is I need the script to go out search the C: drive and find the file by the file extension not the file name. I have written a...

    Saianng5 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:

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