Home > OS >  How will this. Bat file into execution. Sh shell script
How will this. Bat file into execution. Sh shell script

Time:10-12

@ echo off
@ set root=% ~ dp0
Regsvr32 "root % % HopeMap3DControl. Ocx"
pause

CodePudding user response:

The unanswered
Ocx itself only support Windows

CodePudding user response:

The bat file is written in Windows batch orders, do you want to run directly in the Linux is impossible, for example, Linux also does not have the concept of the registry, how to run regsvc...

CodePudding user response:

This is a Windows script, that is, batch, cannot be run directly in Linux, even if you can't run to sh, because there are some grammar, command, the command parameters are different, and then take the simplest example, root % % this is on behalf of a variable in Windows batch, and Linux is $$, said here will not be able to identify, to batch in the normal run Linux, unless you take them as part of general writing

CodePudding user response:

Linux loading window controls, the original poster to do?
  • Related