Title: Understand the batch processing operation mechanism.
Bonus rules:
Novel idea 8 points
No temporary files 3 points
Concise code 3 points
Perfect code 15 points
Title content:
Let the batch processing judge by itself whether it is double-clicked to run or manually input and run in CMD.
Just like tasklist.exe, net.exe, ping.exe, when we double-click these files, they will flash by and we can't see the help information of these commands. Only when we manually input in CMD can we see. Now the question is to write a batch file. When we double-click to run (without any parameters), display "Double-click to run" and pause. If it is manually input and run in CMD (also without any parameters), display "Run manually input in CMD" and then do not pause, directly return to the command prompt.
Bonus rules:
Novel idea 8 points
No temporary files 3 points
Concise code 3 points
Perfect code 15 points
Title content:
Let the batch processing judge by itself whether it is double-clicked to run or manually input and run in CMD.
Just like tasklist.exe, net.exe, ping.exe, when we double-click these files, they will flash by and we can't see the help information of these commands. Only when we manually input in CMD can we see. Now the question is to write a batch file. When we double-click to run (without any parameters), display "Double-click to run" and pause. If it is manually input and run in CMD (also without any parameters), display "Run manually input in CMD" and then do not pause, directly return to the command prompt.
Recent Ratings for This Post
( 2 in total)
Click for details
心绪平和,眼藏静谧,无比安稳的火... Purification of soul...Just a false...^_^

