Windows Export
Export folder structure
1. Use command to list all the folder and subfolder:
dir /ad /s /b > <file>
2. Use notepad++ search keyword "Directory"
3. Copy the search result
Export the specific file
1. Use command to list all the folder and subfolder:
dir <file name> /s /b > <file>
Example:
dir *.bat /s /b > d:\1.txt
Attention
For the folder or file contain space, put "" for the path
Example:
mkdir "D:\ftp_aloha\Test\AlohaTS 6116"
copy "c:\ftp_aloha\Test\AlohaTS 6116\1.bat" "D:\ftp_aloha\Test\AlohaTS 6116\1.bat"
Comments
Post a Comment