Questions tagged as 'vbs'

3
answers

Export query in SQL Server to CSV file

I need to somehow export the result of my SQL query to a CSV file. However, it has to be directly via SQL or VBS. Or, you can export all the data from the database table to CSV.     
asked by 04.04.2017 / 12:37
2
answers

Return File Name in VBS

Is it possible to return the name of a file / program through a VBS script? Type as you drag and drop into the script or open with ... the script, it returns the name.     
asked by 14.09.2017 / 15:09
1
answer

Passing Boarding with Double VBS

How to pass a parameter that has double quotation marks in vbs Atalho.Arguments = ""args.ext""     
asked by 13.09.2017 / 16:18
1
answer

How to identify in windows events log when a folder is deleted?

I have an application that uses a c:\temp folder in windows and I need to identify somehow if this folder has been deleted to re-create the directory. To recreate, I have in mind to use the windows task scheduler and use the event trigger...
asked by 28.10.2014 / 14:21
1
answer

HOW TO PLACE .vbs within .bat

I'm setting up a project and I could not put the file .vbs inside .bat . cadastro.bat : @echo off :Menu cls echo.ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» echo.º...
asked by 16.03.2017 / 23:39
1
answer

Return single message after 5 command repetitions

I have a very simple code that checks if the user exists and returns a "Guaranteed Access" or "Access Denied" message. The problem is that I need to call this Sub 5 times, which will return 5 MsgBox . How could I return a unique MsgBox...
asked by 23.08.2018 / 14:53
0
answers

Run .vbs file via php inside the server

Good morning. I have a .vbs file on my machine that disables some users in the company's AD. I would like to know if it is possible to run this file inside my server via php. Has anyone done anything like that? I had looked at some posts in the...
asked by 01.06.2017 / 15:41
1
answer

I need help with a Solidworks macro

Basically it has to open the 2d drawing of a selected file from the assembly generate the PDF and close, I got something, but it only works with the path file, I do not know which command to use to make it work with whatever file you choose ....
asked by 30.06.2016 / 03:14
0
answers

VBS Script with error

I have here a code that I found I need help with ... It basically makes spam for a gmail account but you are having an error on the smpt part is here the error: link and here's the code: Dim User Dim Pass Dim Name Dim Input Dim Input2 Dim In...
asked by 10.11.2015 / 08:55
1
answer

Open Excel worksheet and copy data into VBS

Hello, I have a simple spreadsheet (3 cols and 2 rows) and I'm trying to create a script to open it, copy its data and insert it into another one. Path = "C:\Users\user_name\Documents\excell\planilha1.xlsx" Set objexl = CreateObject("Excel.app...
asked by 29.11.2018 / 18:17