batch file - Cmd for opening folders with unknown name -
i writing batch script works follows:
- goto location (for example c:/temp/1)
- open first 5 sub-directories of 1 (for example if 1 contains directories called 10,20,30, open 10. open 10 , if 10 contains 10,20,30 open 10 well, , goes on till --> 1/10/10/10/10/10)
- list item copy of contents of current folder(10) c:/temp
- go c:/temp , delete first folder's files (1)
now, encounter problem don't know how open directories inside 1, since don't know names. sure there way of opening first folder, since saw close example here
thanks guys!
Comments
Post a Comment