问题
How would I set a title to a batch file so it will say My Batch file at the top. thanks if any one can help. I have looked on google but I didn't find any thing of any use.
回答1:
Try using this:
title "My Batch File"
Let me know if that's what you want.
回答2:
If this is a normal batch file then either use:
title "My Batch File"
to see the text appear in the window title bar
or use
@echo off
echo My Batch File
@echo on
to have it appear inside the CMD prompt window.
回答3:
Try this
@echo off
title Batch File
来源:https://stackoverflow.com/questions/22607485/batch-setting-a-title-at-the-top