简体   繁体   English

创建空目录结构

[英]Create Empty Directory structure

I want to create empty directory structure in windows using cmd 我想在Windows中使用cmd创建空目录结构

any batch file? 任何批处理文件?

can any one help me? 谁能帮我?

try this 尝试这个

echo Enter Source to be copied
set/p "sr=>"
echo Entr Destination
set/p "ds=>"
echo enter foldername in which structure to be created.
set/p "nm=>"
xcopy %sr% %ds%\%nm%\ /S /E /C /T /H
echo structure created succesfully.......

put in text file and save it as .bat extension 放入文本文件并将其另存为.bat扩展名

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 复制目录并创建上层目录结构 - Copy directory and create upper directory structure 用空文件复制目录文件结构 - Replicate a directory file structure with empty files 无法使用Selenium创建本地Windows目录结构 - Unable to create local windows directory structure using Selenium 如何删除文件和文件夹但保留目录结构并留下空文件而不是文件本身? - How to delete files and folders but keep directory structure and leave behind a empty file instead of file itself? 如何使用批处理脚本使用另一个目录的子文件夹名称在目录中创建新的空文件夹? - How can I create new empty folders in a directory using names of subfolders of another directory using batch script? 遍历子目录并创建类似的目录结构来处理子目录中的每个文件 - Traversing subdirectories & create similar directory structure to process each file in sub directories 创建一个空目录(NSIS) - Creating an empty directory (NSIS) RemoveDirectory()如果​​目录不为空? - RemoveDirectory() if the directory is not empty? 如何复制整个目录结构? - How to copy entire directory structure? perforce较短的客户端目录结构 - perforce shorter client directory structure
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM