Questions tagged [Windows Script Host] (9)

0
answer

As with js via ole connection to Word to know the width of the word?

As with js via ole connection to Word to know the width of the word?
samara asked March 31st 20 at 21:42
0
answer

VBS. How to determine the number of lines in the file and dynamically display?

Good time of day. There's a text file list.txt which is continuously, about once per second changed contents. You want to display in the info window the number of rows with every second. When you click on the "OK" button exit. In scripts is not strong, found a similar example:CodeDim fso, ts Set fso = CreateObject("Scriptin...
marc asked March 21st 20 at 12:57
3
answers

Why doesn't a simple script from scheduler Windows8?

A fairly simple js: var WshShell = WScript.CreateObject( "WScript.Shell" ); var fso = WScript.CreateObject( "Scripting.FileSystemObject" ); var oDesktopFolder = fso.getFolder( WshShell.SpecialFolders( "Desktop" ) ); fso.CreateFolder ( oDesktopFolder + "\\Folder" ); Works under Windows7 and younger in any case, and for some...
Stefanie.Kreiger28 asked October 3rd 19 at 18:03
0
answer

What are the alternatives XMLHTTP for sending data from Windows clients to the server with the WSH?

Such task to execute on a group of workstations (Win7, WinXP SP3) script on WSH (JScript), which would produce the necessary steps and sent the data to the given server. At the moment my script: - collect the necessary data; - converts the result to JSON; through ActiveX XMLHTTP (selected one of 3 possible revisions) is se...
Edd55 asked September 30th 19 at 10:06
0
answer

How to get a list of connected web Cams?

Need to get a list of connected computer devices, capable of capturing video, whether it be Webcams, TV tuners etc, as it makes VLC player Tried various WMI queries, but unfortunately my knowledge is not enoughvar wmi = GetObject("winmgmts:{impersonationLevel=impersonate}"); Device = new Enumerator(wmi.Services("Win32_PnPSi...
kacey_Schinner asked September 18th 19 at 12:47
1
answer

How do I output the result of compilation from Linux VM on Windows?

Perform cross compiling on my Linux virtual machine. The code used to write in VS20xx. Want when the Assembly runs the script, which would: - connect to virtual reality; - enter the login and password; - perform the build (make); the result was passed through a stream filter (sed); - return all output in VS20xx. It is neces...
hallie.Murazik asked September 4th 19 at 13:39
1
answer

How to conduct reverse-engineering cryptomanager virus written in jscript (WSH)?

Attached virus code (download code) to post the pdf file so that have downloaded it accidentally launched. The virus is dangerous and great harm. For the very curious: the virus encrypts all the files and the desktop appears, the email address for communication (with someone you know and why). As I understand it, the scrip...
2
answers

What to take, uwsgi, fastcgi or wsgi?

Hello! Try to run cgit under nginx in CentOS 7.1, under Apache it's simple and easy, but nginx still fails to understand - my configs are not working. At the same time can someone explain the difference between uwsgi, wsgi, fastcgi(wrapper) and reasonably offer the best of these solutions solve my problem?
lottie_Gibson asked August 19th 19 at 16:53
1
answer

How to turn on WIFI via cmd?

Good day, how to use cmd (for example netsh) to enable the Wi-Fi switch in windows 10? Please do not answer if you don't have tested themselves on their PC. So much has been tried. Blagodaru in advance.
Eulalia_Thiel77 asked July 8th 19 at 10:17
1
answer

How can I make the initialization of the windows user profile?

When you create a new user, you need to perform the same operations that occur when you first enter the system. How can this be done programmatically (preferably using WSH, but I will appreciate any solutions)?
Dejah.Reilly23 asked June 20th 19 at 13:36