Questions tagged [wsh]

The Microsoft Windows Script Host (WSH) is an automation technology for Microsoft Windows operating systems that provides scripting abilities comparable to batch files, but with a wider range of supported features.

8 questions
10
votes
2 answers

Is it possible to 'apply' a registry change without rebooting?

I have a new mouse - roccat kova. It's good but one problem is that mouse settings get reset to default whenever I turn my computer off. I am able to find out how to actually make the registry changes using the windows scripting host so that I can…
MrVimes
  • 1,455
7
votes
3 answers

Is there a way to get access to a window handle in windows using WSH, or WMI or similar?

Is there a way to get access to a window handle in windows using WSH, or WMI or similar? I just want to flag a window as always-on-top. Ideally I'd use windows script host for this.
Jotham
  • 498
5
votes
1 answer

What are the .wsf , .wsh, and .wsc files?

I understand that C:\Windows\System32\cscript.exe and its GUI version C:\Windows\System32\wscript.exe can interpret VBScript .vbs/.vbe (Microsoft Visual Basic Scripting Edition) and JScript .js (Microsoft's dialect of the ECMAScript/JavaScript)…
Foad
  • 892
  • 4
  • 19
  • 54
2
votes
1 answer

Get track name in foobar with WSH Panel

I want to have something that speaks the name of the currently playing track in foobar, best I could come up with is using WSH Panel to launch a powershell text to speech script, however I can't get the track name in WSH Panel..my WSH Panel script…
1
vote
1 answer

How to reinstall broken VBScript support on Windows XP SP3?

Possible Duplicate: Input Error: There is no script engine for file extension “.vbs”. VBScript support (Windows Scripting Host, as far as I understand) seems to be been broken on my system (for example, when I run a Microsoft FixIt tool it…
Ivan
  • 7,863
0
votes
2 answers

Is it possible to backup shell folders in XP with VB or WSH script?

I would like to backup shell folders on my XP machine. It is useful for me because when I reinstall XP I can just restore those backed up shell folders. Can you guys get me started or point me in the right…
rashid
  • 206
0
votes
1 answer

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?
Remus Rigo
  • 3,038
0
votes
0 answers

My computer is infected from mining virus and giving me Windows script host error

The first error that I have got was Windows Script Host error described as C:\Windows\xdgaudio.vbs When I have located to the file the content was Dim WShell Set WShell = CreateObject("WScript.Shell") WShell.Run "wmipvrse.exe -B --donate-level 1 -r…