A
A
Alexey2017-02-14 19:21:17
VBScript
Alexey, 2017-02-14 19:21:17

Vbs does not start in the registry, how to fix it?

04c054e96ba44b459f09c6d23719e266.jpg
The idea is this: the scan button is pressed on the printer and after that the vbs script is launched.
.exe and .bat files work fine, but I need vbs, what am I doing wrong?)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
omegastripes, 2017-02-17
@Evelate

The .vbs files are not executable, they use wscript.exe and cscript.exe to run them. In your case, the Cmdline should be something like this (you will probably need to specify the full path to wscript.exe):
Regarding the scripts converted to .exe, I note that they are fired by antiviruses with terrible force. The only programs that allowed me to get a "clean" .exe from VB at one time were PrimalScript and Portable VB6.0.

A
Alexey, 2017-02-16
@Evelate

Vbs script reconvected into .exe file. registered in the register

C:\test\ScanInvis.exe C:\test\ScanInvis.bat /StiDevice:%1 /StiEvent:%2

And everything worked as planned)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question