Questions tagged as 'vbs'

1
answer

Decrypt virus - vbscript

Option Explicit On Error Resume Next dim rbs309 dim tadjakmnmfrg4460 dim icsnvk206 dim wsmp1276 dim falkal1610 dim rfqgobyeyrp5319 dim gtxhgi5556 dim mll8810 dim qxat8709 dim hgurgqrv3280 dim baknqdo6857 dim cioslu3564 dim sndohhjq1214 dim lwwfai...
asked by 10.12.2015 / 22:30
1
answer

Create txt with default printer name in VBS

Good morning, I have the following script. Set oShell = CreateObject("WScript.Shell") strValue = "HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows\Device" strPrinter = oShell.RegRead(strValue) strPrinter = Split(strPrinter, ",")(0)...
asked by 20.12.2016 / 12:16
0
answers

Change Outlook signature via VBA [closed]

How to change Outlook signature via VBA depending on a particular situation ... In my Outlook I have 2 pre-defined signatures (Internal and External) I already have a Script that identifies when the email is External or Internal Basic s...
asked by 04.05.2016 / 19:12
2
answers

How to block a site with Delphi, vbs or msdos?

I have a system for monitoring and monitoring users and would like to block a site using Delphi or even MSDOS or VBS commands, or even using Sockets (I do not know if it's possible)? What I have for now is this: Delphi var dd: TextFile...
asked by 28.12.2015 / 18:46
1
answer

Implement Vbscript Post Office Reverse Logic WebService

I'm trying to implement the webservice of reverse mail logistics in vbscript but I always get the error "Error reading XMLStreamReader." Follow the code that is being used. I'm still in development environment. Dim MdbFilePath,ConnectionStr...
asked by 22.02.2017 / 22:14
2
answers

Operations with dates

It's been a long time since I moved with VBS , so I thought of doing only command line, I'm going to delete files from 6 months ago, as the files I'm managing have names on the basis of date that were generated: bkp_201605.xml log_201601.t...
asked by 08.03.2018 / 01:05
3
answers

script for printer installation automation

Good afternoon, I have in my environment a print server with a total of 63 printers installed and shared on the network, I would like a script to automate the installation of these printers on the machines of the company, so far I have done the...
asked by 15.05.2018 / 21:24
1
answer

File directory txt with VBS

My code in VBS looks like this: Dim oShell Set oShell = Wscript.CreateObject("WScript.Shell") filename = "C:\Users\Public\Documents\Copy_File.txt" oShell.Run(filename) Is there any way I can leave this txt file that I need to access within...
asked by 11.08.2015 / 22:49
3
answers

How to disable CTRL + C in batch?

Is it possible to disable the CTRL + C batch command?     
asked by 30.04.2018 / 23:42
1
answer

Microsoft VBScript runtime error '800a01a8' Object required: '[undefined]'

I have a routine that was working normally in IE8, when updated to IE 11 it introduces me the following message:    Microsoft VBScript runtime error '800a01a8'       Object required: '[undefined]'       Microsoft VBScript runtime error '800...
asked by 14.01.2016 / 12:10