batch file - Cmd for opening folders with unknown name -


i writing batch script works follows:

  1. goto location (for example c:/temp/1)
  2. 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)
  3. list item copy of contents of current folder(10) c:/temp
  4. 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

Popular posts from this blog

php - How to register a post type and taxonomy in WordPress and display in a page/single post -

database - How many Observations in SAS Sample Data Output -

emulation - Android map show my location didn't work -