Run (F5), enter the command and save
python " $ (Full_current_path) " & ECHO. & PAUSE & EXIT
/k is followed by commands similar to cmd, such as Python, Perl, etc. (environment variables are already configured, otherwise a full path is required, such as: C:\Python34\python.exe)
$ (Full_current_path) notepad++ macro definition, meaning the full path to the current file
ECHO. (or echo\) print line break
Exit is to exit CMD. EXE Program (Command interpreter)
Pause pauses processing of batch files and displays messages.
C, C + + compile and run, similar to
cmd/k gcc-o "$ (current_directory) \$ (name_part).exe" "$ (Full_current_path)" && CLS && "$ (current_directory) \$ (name_part).exe" & PAUSE & EXIT
cmd/k C + +-o "$ (current_directory) \$ (NAME). exe" "$ (Full_current_path)" && CLS && "$ (current_ DIRECTORY) \$ (NAME).exe"& PAUSE & EXIT
Java compiles and runs
cmd/k javac "$ (full_current_path)" && CLS && CD "$ (current_directory)" && Java "$ (Name_part)" & PAUSE & EXIT
notepad++ directly run Python, Perl, C, etc.