want to see/copy all the files, sub folders and their files

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
jagd
Posts: 2
Joined: 08 Jul 2014 03:26

want to see/copy all the files, sub folders and their files

#1 Post by jagd » 08 Jul 2014 03:36

Hello,

I am having requirement to view files from a folder and subfolder including subfilder's files.

Please help

Regards
Jagd

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: want to see/copy all the files, sub folders and their fi

#2 Post by foxidrive » 08 Jul 2014 04:04

Explain more thoroughly what you need to do. Give an example too please.

ShadowThief
Expert
Posts: 1167
Joined: 06 Sep 2013 21:28
Location: Virginia, United States

Re: want to see/copy all the files, sub folders and their fi

#3 Post by ShadowThief » 08 Jul 2014 14:46

That's a very vague question you have there. I mean, it sounds like you're looking for the

Code: Select all

dir /s
command, but there's probably going to end up being more to it than that.

Compo
Posts: 600
Joined: 21 Mar 2014 08:50

Re: want to see/copy all the files, sub folders and their fi

#4 Post by Compo » 08 Jul 2014 15:05

Smells more like academic material to me!

Code: Select all

TREE X:\MYDIR /F

Yury
Posts: 115
Joined: 28 Dec 2013 07:54

Re: want to see/copy all the files, sub folders and their fi

#5 Post by Yury » 10 Jul 2014 13:12

Code: Select all

dir /a/s

jagd
Posts: 2
Joined: 08 Jul 2014 03:26

Re: want to see/copy all the files, sub folders and their fi

#6 Post by jagd » 15 Jul 2014 23:42

Please accept my apologies for not explaining it initially:

Actually tree /f command gives information of all the files and directories along with subdirectories in the tree format. I want to find all the files in a main directory (which is having multiple directories and files in it) with particular date. for example I want to find/copy to new location all the files which got created after 01-Jan-2013.

Currently I am doing it with the help of window explore but want to do it from DOS command of batch file.

Thanks in advance to you folks.

Regards
Jagd

Post Reply