Tagged Questions
0
votes
1answer
24 views
VBScript Admin CMD Command Executed Remotely
Trying to execute a simple dns flush remotely from a machine, but for one reason or the other - I need to run the cmd as admin. The cmd runs fine under the account physically in person, but you need ...
0
votes
1answer
49 views
vbscript to get the files in a format from ftp with today's modified date
I have a requirement to get the files in a specified format from a ftp using vbscript. Can any one help me on this.
I have to get files with name format VarList12DDMMYYYY******.csv, ...
0
votes
0answers
52 views
POP3 Email Setup using VB Script - WIndows Live Mail
Good Day,
During the good old Windows XP days we had Outlook Express (OE). When using Outlook Express, I was able to provide a very simple OE POP3 setups script for employees. This prevented me from ...
-1
votes
1answer
91 views
Monitor Drive. Using VB Script
I want to monitor a drive for file changes, using VBScript. I have the below code. It works fine for InstanceCreationEvent and InstanceDeletionEvent. But InstanceModificationEvent is not happening. ...
0
votes
2answers
193 views
How to write a ping to a text file using VBS
If I am using VBS to run some CMD commands, in this example ping, how could I write the command to a text file using VBS not DOS?
Set objCmdTest = WScript.CreateObject ("WScript.Shell")
Set Output = ...
0
votes
1answer
50 views
Rename a vbscript process
When we run a *.vbs file, in processes, we used to get "wscript.exe". We can change this "wscript.exe" to our custom name by creating a shortcut and executing the shortcut.
Is it possible to display ...
7
votes
3answers
115 views
Updating values from external workbook automaticly
I have the following workbook setup:
Workbook A has a link to x amount of workbook B's and fetches data from them. The workbooks B have links to some other workbooks and fetches data from them.
...
0
votes
1answer
258 views
Call VBScript With Return Value on Remote Machine With Powershell
I need to call a remote VB script from Powershell, and the VB script needs to run on the remote machine.
I have been using \$computer\root\cimv2:Win32_Process").Create(C:\test.vbs)
This works, ...
0
votes
2answers
40 views
Install after download within a script?
I would like to download an msi and install it, all silently within a script. I wanted to try something like start iexplore.exe http://domain.com/file.msi /qnbut unfortunetaley, it will just download ...
0
votes
1answer
36 views
Downoading then installing through batch- how do I download then silently install an msi?
I know how to silently install an msi by using /qn. I also know how to download something just by using the command start http://www.domain.com/file.exe. But how do I put these two together in a ...
0
votes
1answer
141 views
My automatic phonegap installer needs jdk download with wget, I have it working in command prompt but not in .hta file
I have written a vbscript based .hta installer to install PhoneGap/Cordova automatically with all the pre-requisites(ant/jdk/bada sdk etc). Its almost done but I am stuck at the part where I need to ...
-1
votes
2answers
108 views
why wont objshell work [closed]
Set objFSO=CreateObject("Scripting.FileSystemObject")
outFile="C:\Program Files\number2.vbs"
Set objFile = objFSO.CreateTextFile(outFile,True)
objFile.WriteLine "Set objWshShell = ...
1
vote
2answers
164 views
Send mail using VB Script?
I have the following code to monitor a drive. Now I an getting Echo for each file creation or deletion event.
Is there and way to modify the WScript.Echo to send a mail notification?
strDrive = "c"
...
7
votes
1answer
286 views
Display a drop-down/combo box in VB Script
I'm trying to create a drop-down/combo box in VB Script. As per my understanding we need to create an instance for Internet Explorer and create a drop-down/combo box, something like this:
set oIE = ...
3
votes
1answer
178 views
What is the maximum size of Scripting.Dictionary?
I am trying to find what is the upper limit of Scripting.Dictionary? Is there one?
It could be either limit on number of elements or size of memory. I could not trace any info on that.