Get the App
SLTechnology News&Howtos  ›  Development  › 

How to realize the batch processing of getting help documents by entering command instructions

Shulou Source: shulou.com Published: 2022-06-03 08:20:37 11月15日 Update

This article will explain in detail how to implement the batch processing of input command instructions to get help documents. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.

For example, when you enter dir enter, a help for using dir.txt is generated in the directory.

It actually has the same effect as dir /? > dir.txt, but it's more interesting to do it in batches.

The code is as follows:

@ echo off: Z @ cls @ set / p "d = enter the BAT instruction:" @% d% /? >% d%.txt goto z goto z on "how to input command instructions to get help documents batch processing" this article is shared here, I hope the above content can be of some help to you, so that you can learn more knowledge, if you think the article is good, please share it for more people to see.

Tags: Help input instructions articles commands documents more good practical interesting code content effects articles directories knowledge references related generate Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft Shulou Information vpn Xiaomi Linux