Home > OS >  For help, under Linux is to use RAR command produces under Windows can run exe program
For help, under Linux is to use RAR command produces under Windows can run exe program

Time:09-27

Windows in the bat file content is as follows:
 
"C: \ Program Files \ WinRAR \ WinRAR exe" a - r - SFX - z.. \.. Msu_type \ % %. TXT - iimg.. \.. \ 03 _logo \ mobiwire BMP - iicon.. \.. \ 03 _logo \ mobiwire ico.. \.. Exe \ msu_type MSU_v1752_ % %


I will this command after transplanted into Linux as follows:
 rar a - r - SFX - z../../$msu_type. TXT - iimg../.. 03 _logo/mobiwire. BMP - iicon../.. 03 _logo/mobiwire. Ico../../MSU_v1752_ $msu_type. Exe 


But after execution, Linux cannot execute the generated exe files, the PM on the flash back,

Excuse me each great god, and how to correctly use rar generated can carry out the normal exe in Linux,

CodePudding user response:

no one

CodePudding user response:

Didn't understand, you want to transfer of the native Windows programs to Linux?
Is transplantation after compiling connection, has completed the code to generate the same name in Linux executable program?
Then want to use compression software package, unable to run after decompression is?
This is primarily a Linux, whether or not the executable is depend on the properties of
You need to extract the executable file to you after the chmod + x./your executable file name
The other Windows programs can be executed directly in Linux

CodePudding user response:

refer to the second floor danscort2000 response:
didn't understand, you want to transfer of the native Windows programs to Linux?
Is transplantation after compiling connection, has completed the code to generate the same name in Linux executable program?
Then want to use compression software package, unable to run after decompression is?
This is primarily a Linux, whether or not the executable is depend on the properties of
You need to extract the executable file to you after the chmod + x./your executable file name
The other Windows programs cannot be executed directly in the Linux


Just use rar in Linux command produces to Windows self-extracting exe file suffix attributes,

CodePudding user response:

Few people use rar, Linux itself, are estimated to rar official answer faster

CodePudding user response:

reference qq_25770685 reply: 3/f
Quote: refer to the second floor danscort2000 response:

Didn't understand, you want to transfer of the native Windows programs to Linux?
Is transplantation after compiling connection, has completed the code to generate the same name in Linux executable program?
Then want to use compression software package, unable to run after decompression is?
This is primarily a Linux, whether or not the executable is depend on the properties of
You need to extract the executable file to you after the chmod + x./your executable file name
The other Windows programs cannot be executed directly in the Linux


Just use rar in Linux command produces to Windows self-extracting exe file suffix attributes,


Is this problem solved?
  • Related