Windows工作区目录创建

Windows工作区目录创建批处理脚本,目的是养成工作区目录规范的好习惯。

@echo off
echo 'Create Jingyu Workshop!'
rem Author: Alfred Zhao
rem Version: 1.0.0
rem Create Time: 2015-12-13
rem Update Time: 2015-12-25 rem create root directory "Jingyu"
mkdir Jingyu rem ---------------------------------------------------------------------------------------
rem create main directories in the root directory.
cd Jingyu
mkdir Coding
mkdir Database
mkdir Language
mkdir Middleware
mkdir OS
mkdir Network
mkdir Others rem ---------------------------------------------------------------------------------------
rem 1.create subdirectories in the "Coding" directory
cd Coding
mkdir Bat
mkdir PHP
mkdir Python
mkdir Hadoop
mkdir C#
cd Python
mkdir myPython
cd ../ rem 2.create subdirectories in the "Database" directory
cd ../Database
mkdir Greenplum
mkdir IEE
mkdir MySQL
mkdir Oracle
mkdir Vertica
mkdir HBase
cd Oracle
mkdir Docs
mkdir Tools
mkdir Test
mkdir Media
cd Docs
mkdir Dataguard
mkdir OCP
mkdir OCM
mkdir ACE
mkdir OGG
mkdir RAC
mkdir MOS
cd ../Test
mkdir Sqlldr
mkdir Plsql
mkdir RMAN
cd ../
cd ../ rem 3.create subdirectories in the "Language" directory
cd ../Language
mkdir English
mkdir Japanese rem 4.create subdirectories in the "Middleware" directory
cd ../Middleware
mkdir Appche
mkdir Nginx
mkdir Tomcat
mkdir Weblogic rem 5.create subdirectories in the "OS" directory
cd ../OS
mkdir Linux
mkdir Unix
mkdir Windows
mkdir Virtual
cd Linux
mkdir Redhat
mkdir Ubuntu
cd ../Unix
mkdir AIX
mkdir HP-UX
mkdir Solaris
cd ../ rem 6.create subdirectories in the "Network" directory
cd ../Network
mkdir Agency rem 7.create subdirectories in the "Others" directory
cd ../Others
mkdir Workshop
mkdir "Daily Work"
cd Workshop
mkdir Software
mkdir Information
mkdir Blog
mkdir XMind
cd ../"Daily Work"
mkdir "Data Migration"
mkdir "Installation&deployment"
mkdir "Backup&Recovery"
mkdir "Patch Repair"
mkdir "Performance Optimization"
mkdir "Security Reinforce"
mkdir "Troubleshooting"
mkdir "Version Upgrade"
mkdir "Technical Training"
mkdir "Periodic Inspection"
cd ../ rem ---------------------------------------------------------------------------------------
rem change directory to the level of the main directories
cd ../ rem print all main directories info
tree rem pause
pause
上一篇:【JavaScript】事件


下一篇:python之OS模块详解