@ set root=% ~ dp0
Regsvr32 "root % % HopeMap3DControl. Ocx"
pause
CodePudding user response:
The unansweredOcx 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 writingCodePudding user response:
Linux loading window controls, the original poster to do?