当前位置:网站首页>【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
边栏推荐
- [CVPR‘22 Oral2] TAN: Temporal Alignment Networks for Long-term Video
- 【Paper Reading】
- Optimization method: meaning of common mathematical symbols
- CPU的寄存器
- PHP returns the corresponding key value according to the value in the two-dimensional array
- Using compose to realize visible scrollbar
- open3d学习笔记四【表面重建】
- Calculate the total in the tree structure data in PHP
- 论文tips
- Common machine learning related evaluation indicators
猜你喜欢
生成模型与判别模型的区别与理解
MoCO ——Momentum Contrast for Unsupervised Visual Representation Learning
点云数据理解(PointNet实现第3步)
MMDetection安装问题
Implementation of yolov5 single image detection based on onnxruntime
【双目视觉】双目矫正
【Paper Reading】
Faster-ILOD、maskrcnn_benchmark训练coco数据集及问题汇总
Faster-ILOD、maskrcnn_ Benchmark trains its own VOC data set and problem summary
论文写作tip2
随机推荐
[torch] some ideas to solve the problem that the tensor parameters have gradients and the weight is not updated
win10解决IE浏览器安装不上的问题
Drawing mechanism of view (I)
How do vision transformer work? [interpretation of the paper]
open3d学习笔记五【RGBD融合】
【AutoAugment】《AutoAugment:Learning Augmentation Policies from Data》
【FastDepth】《FastDepth:Fast Monocular Depth Estimation on Embedded Systems》
【DIoU】《Distance-IoU Loss:Faster and Better Learning for Bounding Box Regression》
MoCO ——Momentum Contrast for Unsupervised Visual Representation Learning
[torch] the most concise logging User Guide
机器学习理论学习:感知机
Semi supervised mixpatch
yolov3训练自己的数据集(MMDetection)
Faster-ILOD、maskrcnn_ Benchmark installation process and problems encountered
Faster-ILOD、maskrcnn_ Benchmark trains its own VOC data set and problem summary
[CVPR‘22 Oral2] TAN: Temporal Alignment Networks for Long-term Video
Win10 solves the problem that Internet Explorer cannot be installed
【AutoAugment】《AutoAugment:Learning Augmentation Policies from Data》
Implementation of yolov5 single image detection based on onnxruntime
CPU register