-
bat batch file, can be used on windows and linux.
-
But in linux command line can not directly knock "xxx.bat", the system will find all the commands.
-
I want to call bat file, need to write absolute path, such as "/home/myDir/xxx.bat", or change to the directory where the bat file, then type:. "./ xxx.bat" here "./" It tells the system to find a file named "xxx.bat" executed in the current directory.
-
You can not use windows-specific command in the bat file.
-
Before performing the bat file to make sure the permissions bat file is executable, if not change the permissions, then, it is likely to report an error: Permission denied permission to change the way your own query "chmod" command to use.
Linux can run bat file it?
Guess you like
Origin www.cnblogs.com/frankcui/p/11598998.html
Recommended
Ranking