Copy a Directory Tree "Flat" - all files into one folder, no subfolders
Senin, 11 November 2013
0
komentar
Copy the following into a batch file:
@echo off
set source="E:\tempE\export"
set destination="E:\tempE\export2"
::Not sure if this is needed
::It guarantees you have a canonical path (standard form)
for %%F in (%destination%) do set destination="%%~fF"
for /r %source% %%F in (.) do if "%%~fF" neq %destination% ROBOCOPY "%%F" %destination% *.rfa /COPYALL /R:0
Now, change the text in red to suit your source and destination (my destination folder was empty). Run the batch file and you should have a stack of RFAs all sitting in that folder. Note: results may be a bit unpredictable if you have duplicates of particular files in the source directory tree.
Read more:
file - ROBOCOPY - Copy folders content to a single folder - Stack Overflow
TERIMA KASIH ATAS KUNJUNGAN SAUDARA
Judul: Copy a Directory Tree "Flat" - all files into one folder, no subfolders
Ditulis oleh Unknown
Rating Blog 5 dari 5
Semoga artikel ini bermanfaat bagi saudara. Jika ingin mengutip, baik itu sebagian atau keseluruhan dari isi artikel ini harap menyertakan link dofollow ke https://androidtv7.blogspot.com/2013/11/copy-directory-tree-all-files-into-one.html. Terima kasih sudah singgah membaca artikel ini.Ditulis oleh Unknown
Rating Blog 5 dari 5
0 komentar:
Posting Komentar