I have converted the test.bat file to test.exe using iexpresstool in windows.When i run the test.exe file. I am getting error saying
Error Creating process<command.com /c
c:\Users\Vamsi\AppData\Local\Temp\4\IXP000.TMP\test.bat>.
Reason:The system cannot find the file specified
When i run test.bat it is working fine.
The reason for the error is while generating exe using iexpress.
In Iexpress Wizard
goto - Install Program To Launch page
at Install Program tab - type as cmd /c "test.bat" instead of just selecting test.bat from drop down
Related
I am trying to run some Python code in Visual Studio Code. When I run the file by clicking the run button I get the error below, it may be due to some path issue, though I am not sure.
C:\Users\KIIT\Desktop\sample>C:/Users/KIIT/AppData/Local/Programs/Python/Python37-32/python.exe "c:\Users\KIIT\Desktop\sample\test.py"
'C:/Users/KIIT/AppData/Local/Programs/Python/Python37-32/python.exe' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\KIIT\Desktop\sample is the file path where my Python file is located and C:\\Users\KIIT\AppData\Local\Programs\Python\Python37-32/ is where my python is installed and I have Python39 but it is still using python37-32.
I tried to run simply in the cmd prompt by using python3 <file_name> but still not working.
Using a very helpful thread here and these steps, I added make to my path (as C:\Program Files (x86)\GnuWin32\bin\make.exe).When I call $Path this shows up. However when I try to run make S4_pyext in cmd.exe which I run from Anaconda3, I get an error
'make' is not recognized as an internal or external command, operable program or batch file.
I thought I may have not added make to the path correctly so ran
"C:\Program Files (x86)\GnuWin32\bin\make.exe" S4_pyext
Instead which resulted in an error
mkdir -p build A subdirectory or file -p already exists. Error occurred while processing: -p. A subdirectory or file build already exists. Error occurred while processing: build. make: *** [objdir] Error 1
I can't seem to make heads or tails of this error message. Does anyone know what may be happening on either attempt?
How can I create 1 executable file from my Pycharm project. I need every file listed in the screenshot below to be included. I have downloaded cv_freeze, py2exe , and pyinstaller. I have tried to use pyinstaller but it gives me an error. It tells me that: error: the following arguments are required: scriptname. How can I include all files shown below under the 1 executable?
When i do include a script say InformationWindow.py, it does create the executable but it does not run when i click the executable. It gives me an error stating that "this application failed to start because it could not find the qt platform plugin windows"
I have written nsis script for my java project. I have successfully created a exe file using this nsis script. Final step of my installation process is installing my application as windows service using a batch file. I have installed successfully through command line using following code
"c:\program Files\program Files\test\bin\prunsrv.exe" //IS//servicename --Startup=auto --Jvm="Auto" --Classpath="%CLASSPATH%" --StartMode=jvm --StartClass=com.class.name --StartParams start --StopMode=jvm --StopClass=com.class.name --StopParams stop
same commands I have executed through nsis script is not working well. I have tried the following code
Exec '"$INSTDIR\bin\prunsrv.exe" //IS//servicename --Startup=auto --Jvm="Auto" --Classpath="%CLASSPATH%" --StartMode=jvm --StartClass=com.class.name --StartParams start --StopMode=jvm --StopClass=com.class.name --StopParams stop'
$INSTDIR refer to this directory c:\program Files\test.
Use ExpandEnvStrings to expand %classpath% before the exec...
I'm trying to install Mozilla ActiveX Control v1.7.12. In the folder where the DLL resides I execute
regsvr32 mozctlx.dll
but this fails. I get an error message
DllRegisterServer in mozctlx.dll failed
Return code was: 0x8002801c
I already tried an other version of the DLL, but no avail. Any ideas?
TIA
Steven
Run command prompt as administrator, then execute the same command.