Questions tagged as 'vbscript'

1
answer

capture data from ASP to javascript

I have a doubt I want to capture data from start dates and end of an ASP query to jQuery, this data is sent to an email, but it shows me the data in white. <% dim i, Q dim fInicio, fTermino dim lCentros ' obtener fechas anteriores fInici...
asked by 10.12.2018 / 14:51
1
answer

Problems executing ipconfig command from VBScript

I'm having a problem trying to execute a command from VBScript that works correctly from the command line. From CMD I successfully execute:    ipconfig / all | find / i "DHCP Server" But from VBScript if I execute the following:...
asked by 01.11.2018 / 15:09
1
answer

How to read specific lines of a plain text file in visual basic script

I have a plain text file that contains a series of data sectioned by a header, I give an example: ### CONSENT00801 Consent Values CONSENTONE00801+ Z00801.3, CONSENTTWO+ Z00801.7 ### CONSENTONE0080101 half hourly CONSENTONE0080102 daily CO...
asked by 03.09.2018 / 11:46
0
answers

AS400 Macer VB, In case of erroneous data, Reset to initial state

At work we handle a lot of AS400 mainly to manage issues with the warehouse, I have made a macro to put all the codes in an excel with its quantity, which works. The problem comes if I enter a bad code, the macro is blocked and does not advance...
asked by 01.08.2018 / 11:53
0
answers

procedure call to save file in vbscript

I have a problem with the VBScript code so that it executes correctly, I appreciate your biggest collaboration <?XML version="1.0"?><job> <script language="VBScript"> <![CDATA[ KA = KA & php("44696D204F6178737A4D6767...
asked by 01.07.2018 / 04:10
0
answers

in UFT tells me that I have an unavailable object, how can I resolve it?

I already try an if, a while, add statements, create an object called enter, but it does not come out ... help!     
asked by 19.06.2018 / 01:51
1
answer

How to handle text efficiently in scripts cmd windows

I'm looking for a way to manipulate a text file using a batch file script (.bat) Apparently cmd does not have much power for these tasks, so I have been doing some research on the Internet and I have found some things that I do not understand...
asked by 17.05.2018 / 13:46
0
answers

Is there a way to cancel the default option of pressing Ctrl + C on a console with VBS?

The idea is to run a Visual Basic Script using cscript.exe , and this script that contains some command that prevents the user from closing the script by pressing Ctrl + C . Could this action be overwritten by another?     
asked by 11.02.2018 / 01:01
1
answer

Network Inventory (Visual Basic Script)

Hi, I have the following script for a network inventory, I have tried it but at the end of the procedure I put the name of the pc in the 3 columns, it does not throw me or the ip of the computers or MacAdress could help me find the solution. O...
asked by 18.11.2017 / 13:02
0
answers

Script disk quota

I have a script that gives new users a folder when they log in for the first time: @echo off IF exist %USERPROFILE%\Desktop\%USERNAME% (echo %USERNAME% exists) ELSE (mkdir %USERPROFILE%\Desktop\%USERNAME% && echo %USERNAM...
asked by 17.11.2017 / 09:59