All Questions
448
questions
0
votes
0
answers
24
views
VBScript, how to put a dictionay inside another dictionary using .Item setter? [duplicate]
A.S. this is NOT dup: How can I use a dictionary inside a class in vbscript?
i do NOT want to make new classes
i also do not want to make ad hoc wrappers (would i - i would just use array(1) instead ...
-2
votes
1
answer
727
views
How to access JSON object returned from createObject("htmlfile") in VBS file
I have the following json:
{
"columns":[
"b_summary",
"end_fy",
"id",
"isin",
"market",
"name&...
-2
votes
1
answer
7k
views
How to enable your Windows Script Host through Registry Editor?
The error I'm getting:
Windows Script Host access is disabled on this machine. Contact your administrator for details.
From many websites you can find that making a file named: ["Enabled"] ...
0
votes
4
answers
2k
views
Starting and minimizing Quake Terminal at startup
I'm trying to create a WSF that I can run using Task Scheduler at login. I want it to open the Terminal, switch to Quake mode, minimize that and then close the orignal Terminal window.
I've got as far ...
0
votes
0
answers
321
views
Error 800A01CE, add printer by vbs throught ip
When I tried a small code to add printer on window 10 enterprise 64bits. I meet error 800A01CE. Please help me to resolve this problem. This is my source
Option Explicit
Dim strPrinterUNC, objNetwork
...
0
votes
1
answer
575
views
powershell spawned by .vbs file does not recognize script files... (Windows 11)
I'm simply trying to run a .ps1 from a .vbs (did this before on w10)
C:\Scripts\Test.vbs
command = "powershell.exe -ExecutionPolicy Bypass -nologo -command C:\Scripts\Test.ps1"
set shell = ...
-1
votes
1
answer
368
views
Why does Typescript support WScript?
I have installed Typescript just to have WScript intellisense in VScode.
And I got it. But whenever I compile a typescript tsc myScript.ts containing WScript method WScript.Echo("hello world"...
1
vote
0
answers
57
views
Why is MS Access displaying a window after closing when automated through vbscript?
I have a vbscript that opens Access and calls a function. The .Visible property for the Access application is set to False in the script. Up until a few days ago I was not seeing any visible Access ...
0
votes
1
answer
250
views
VBS & WSH error on simple loop and cpu over usage
I have a simple script that hunts for popup boxes that are generated for website and Excel.
It works most of the time but errors out occasionlly and seemingly randomly.
The error is
line: 6
Char: 3
...
1
vote
1
answer
343
views
Am I able to embed HTA code into VBScript? [duplicate]
EDITED
My company used VBScript and IE to create popups for gathering and displaying information. Now that IE is going away, we can't do this in Edge. We're looking for a way to use HTA embedded in ...
1
vote
0
answers
231
views
Active Directory VBS Scripting, getting blank or no value for "cn" attribute
I am writing a script to write the computer name ("CN") attribute of computer accounts in an OU of Active Directory into description field of the computer account but I am just getting blank ...
0
votes
0
answers
41
views
VB script to find whether it is running in 32 bit or 64 bit [duplicate]
how to find which command prompt(32 bit or 64) is being used to run the vb script when it is called using cscript. I need to capture that info.
0
votes
1
answer
756
views
Any attempt to execute vbs script generates a File Not Found Error
The specific error is:
Script: \\dc\netlogon\folder\file.vbs
Line: 0
Char: 1
Error: File not found
Code: 800A0035
Source: Microsoft VBScript runtime error
The file is at the location specified. ...
0
votes
1
answer
845
views
Running python script from wscript fails to activate conda
For some reasons I would like to execute a python script from a vbs-script. It seems that conda isn't activated when I run the script. The pythonfile ImportPandas.py has the following code:
print('\n--...
0
votes
1
answer
385
views
overwrite folders in visual basic script?
I'm working on a way to overwrite a folder if it already exists, with confirmation. Here is my code(along with the part I'm stuck on):
Set fso = CreateObject("Scripting.FileSystemObject")
...