Questions tagged [vbscript]
An interpreted scripting language developed by Microsoft that is modeled on Visual Basic
475
questions
0
votes
1
answer
45
views
How to run a file (e.g. VBScript) opened in Sublime Text?
I am learning VBS and making some scripts for practice. I find it inconvinient to switch to file explorer and run my VBScripts. Is there any way to execute files right from Sublime Text?
0
votes
0
answers
45
views
How can I prevent users from opening the same app multiple times in Windows 10 Assigned Access
I configured a multi-app kiosk for some of my users using Assigned Access on Windows 10 .
It works great but I'm struggling to prevent them from opening multiple instances of the same program.
I've ...
0
votes
1
answer
47
views
Trying to hide a batch file from Nirsoft SoundVolumeCommandLine
The problem I'm facing is that some commands don't work, that's what I'm doing
I'm using:
svcl.exe /SetDefault High-Speakers 1 or all
what I done was creating a VBS file with:
CreateObject("...
0
votes
0
answers
26
views
Explore Regedit.exe to the specified address from the CommandLine [duplicate]
Generally, when we want to navigate to one of the registry addresses, we open regedit.exe then copy-paste the address into address bar, then press enter.
For example Computer\HKEY_CURRENT_USER\Console
...
0
votes
0
answers
78
views
How can I divide two ranges which on two different spreadsheets using variables to feed the Row number with VBScript?
How can I divide two ranges which on two different spreadsheets using variables to feed the Row number with VBScript?
I tried following code:
Sheet1.Range("A10:M10") = Sheet1.Evaluate("...
1
vote
0
answers
58
views
ilovepdf desktop leaves warning message
ilovepdf desktop program shows the message "Your PDFs have been converted successfully" when the conversion process is completed while right-clicking on Windows. The question is, how to ...
0
votes
1
answer
57
views
VBS working from all pcs except 1. Works from shortcut with argument though
In the past I have used a very simple script:
set WshShell = WScript.CreateObject("WScript.Shell")
CreateObject("Wscript.Shell").RUN "C:\windows\system32\taskkill.exe /F /IM &...
0
votes
1
answer
44
views
how to change the format of the date time of windows from WSH
I want to use Windows Scripting Host to automate my windows instalation and I want from it to change the hour to 24h and the date to YYYY-MM-DD.
Is it possible?
0
votes
2
answers
59
views
vbs script not logging in list of domain joined pcs
I have a script that get a file containing pc name and logged in automatically
this scenario works fine for local account but for domain account it won't work actually computer boot up network won't ...
0
votes
1
answer
79
views
Parameter "262144" (top-most attribute set) in Task Scheduler does not work (VBScript)
Parameter 262144 (top-most attribute set) in Task Scheduler does not work. When creating a task to run a .vbs file, parameter 262144 does not work (does not open the window on top of others), although ...
0
votes
1
answer
304
views
Task Scheduler no longer running VBS script
so I've been trying to get VLC player to skip to the next file at a specific time (10am). I've got the following script that worked fine for a few days, and then stopped completely.
Set WshShell = ...
0
votes
1
answer
263
views
How to make a notification with a sound signal?
I would like to make a reminder so that a notification with a sound signal appears in a month. In Windows Task Scheduler, you cannot send a message along with a beep (message only). At first I wanted ...
0
votes
0
answers
205
views
vbscript sendkeys on windows10 fails on one PC
I'm trying to use a vbscript with sendkeys but the keys are not recognized.
I'm using a sample from Microsoft and it works on my laptop but not on my desktop. On the desktop, Notepad does open, but ...
1
vote
1
answer
852
views
how to convert udf file to docx via command line
How can I convert a udf file to docx using the command line? Is there a program that does this? This command line can be PowerShell or VBScript.
Here is the file:
Here is a link to the editor:
https:/...
1
vote
0
answers
962
views
Permission Denied VBScript error when trying to run the file
So I'm trying to emulate a security related github repository using VMs and for that I had to run a VBScript.
The VBScript is as follows:
Set oShell = CreateObject ("Wscript.Shell")
Dim ...