I have created a batch file (.cmd) to perform numerous tasks when installing a web application One of the tasks I want to perform is start the web application by performing a http request to the sites homepage. How can I do this? I would prefer not to have to use any external libraries or the like if possible.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
You will need to use wget
, which is a command-line utility that can be used to retrieve webpages.