Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use batch BAT Enhancement function Code

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

Editor to share with you how to use the batch BAT enhancement function code, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

#

1. Help information for all built-in commands

#

Ver

Cmd /?

Set /?

Rem /?

If /?

Echo /?

Goto /?

For /?

Shift /?

Call /?

Other common commands that are required

Type /?

Find /?

Findstr /?

Copy /?

_

Now output all the above help to a file

Echo ver > tmp.txt

Ver > > tmp.txt

Echo cmd /? > tmp.txt

Cmd /? > tmp.txt

Echo rem /? > tmp.txt

Rem /? > tmp.txt

Echo if /? > tmp.txt

If /? > tmp.txt

Echo goto /? > tmp.txt

Goto /? > tmp.txt

Echo for /? > tmp.txt

For /? > tmp.txt

Echo shift /? > tmp.txt

Shift /? > tmp.txt

Echo call /? > tmp.txt

Call /? > tmp.txt

Echo type /? > tmp.txt

Type /? > tmp.txt

Echo find /? > tmp.txt

Find /? > tmp.txt

Echo findstr /? > tmp.txt

Findstr /? > tmp.txt

Echo copy /? > tmp.txt

Copy /? > tmp.txt

Type tmp.txt

_ _ _

#

two。 The concept of environmental variables

#

_

C:\ Program Files > set

ALLUSERSPROFILE=C:\ document. And Settings\ All Users

CommonProgramFiles=C:\ ProgramFiles\ Common Files

COMPUTERNAME=FIRST

ComSpec=C:\ WINNT\ system32\ cmd.exe

NUMBER_OF_PROCESSORS=1

OS=Windows_NT

Os2LibPath=C:\ WINNT\ system32\ os2\ dll

Path=C:\ WINNT\ system32;C:\ WINNT;C:\ WINNT\ system32\ WBEM

PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH

PROCESSOR_ARCHITECTURE=x86

PROCESSOR_IDENTIFIER=x86 Family 6 Model 6 Stepping 5, GenuineIntel

PROCESSOR_LEVEL=6

PROCESSOR_REVISION=0605

ProgramFiles=C:\ ProgramFiles

PROMPT=$P$G

SystemDrive=C:

SystemRoot=C:\ WINNT

TEMP=C:\ WINNT\ TEMP

TMP=C:\ WINNT\ TEMP

USERPROFILE=C:\ document. And Settings\ Default User

Windir=C:\ WINNT

_

These are all the contents of this article entitled "how to use batch BAT Enhancement function Code". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report