当前位置:网站首页>【Batch】learning notes
【Batch】learning notes
2022-07-02 07:48:00 【bryant_ meng】

Sorry for the wrong picture

List of articles
1 What is? bat
bat yes batch Abbreviation , First look at the definition on Baidu Encyclopedia
bat ( Batch file type ) Batch file , stay DOS and Windows( arbitrarily ) In the system ,.bat Files are executable files , Consisting of a series of orders , It can include calls to other programs . Every line in this file is a DOS command ( Most of the time it's like we're DOS The command line executed at the prompt is the same ), You can use DOS Under the Edit perhaps Windows notepad (notepad) And any text file editing tool to create and modify batch files .
Here are some basic script operations
2 Basic operation
notes
Comment code , Two colons under English input method
:: Code
Pause
Pause after running ,pause, Black windows do not automatically exit
Code
pause
Set a variable
%echo off
SET var=2021_12_17
echo %var%
pause
When using variables %var% Equivalent to 2021_12_17
For more operations on variables, please refer to .bat The batch ( 3、 ... and ): Variable declarations 、 Set up 、 Splicing 、 Intercept
Delete the entire folder
Divided into two steps
The first step is to delete the contents of all subfolders
del /q/a/f/s Folder path \"."
Step 2 delete all empty folders ( The black window will let you decide yes or no)
rd /s Folder path \
Delete... For example hello Folder
del /q/a/f/s C:\personal\hello\"."
rd /s C:\personal\hello\
Copy / Move
copy src dst
move src dst
Keep going cp and mv I'm not the only one of you
Switch disks
cd no way , need cd /d
cd /d D:\xxx
Don't keep on there cd cd Thought the computer was broken
View the list of files
No ls, use dir
dir
边栏推荐
- CONDA common commands
- Mmdetection trains its own data set -- export coco format of cvat annotation file and related operations
- 论文写作tip2
- [CVPR‘22 Oral2] TAN: Temporal Alignment Networks for Long-term Video
- 【Mixup】《Mixup:Beyond Empirical Risk Minimization》
- [introduction to information retrieval] Chapter 3 fault tolerant retrieval
- PointNet理解(PointNet实现第4步)
- 半监督之mixmatch
- Timeout docking video generation
- Drawing mechanism of view (I)
猜你喜欢

【MobileNet V3】《Searching for MobileNetV3》

Interpretation of ernie1.0 and ernie2.0 papers

【TCDCN】《Facial landmark detection by deep multi-task learning》

图片数据爬取工具Image-Downloader的安装和使用

程序的内存模型

A slide with two tables will help you quickly understand the target detection

ModuleNotFoundError: No module named ‘pytest‘

【Mixup】《Mixup:Beyond Empirical Risk Minimization》

ModuleNotFoundError: No module named ‘pytest‘
![[introduction to information retrieval] Chapter 3 fault tolerant retrieval](/img/75/ac2fdcd256f5c2336ca53c7a2744b8.png)
[introduction to information retrieval] Chapter 3 fault tolerant retrieval
随机推荐
【AutoAugment】《AutoAugment:Learning Augmentation Policies from Data》
Calculate the difference in days, months, and years between two dates in PHP
Use matlab to realize: chord cut method, dichotomy, CG method, find zero point and solve equation
【Mixed Pooling】《Mixed Pooling for Convolutional Neural Networks》
《Handwritten Mathematical Expression Recognition with Bidirectionally Trained Transformer》论文翻译
Faster-ILOD、maskrcnn_benchmark安装过程及遇到问题
论文tips
【Hide-and-Seek】《Hide-and-Seek: A Data Augmentation Technique for Weakly-Supervised Localization xxx》
latex公式正体和斜体
使用百度网盘上传数据到服务器上
【Mixup】《Mixup:Beyond Empirical Risk Minimization》
【DIoU】《Distance-IoU Loss:Faster and Better Learning for Bounding Box Regression》
Installation and use of image data crawling tool Image Downloader
【FastDepth】《FastDepth:Fast Monocular Depth Estimation on Embedded Systems》
PHP returns the abbreviation of the month according to the numerical month
Calculate the total in the tree structure data in PHP
Label propagation
【BiSeNet】《BiSeNet:Bilateral Segmentation Network for Real-time Semantic Segmentation》
How to turn on night mode on laptop
A slide with two tables will help you quickly understand the target detection