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

Load Balancing in Bluemix using custom domain and DNS SRV records -

oracle - pls-00402 alias required in select list of cursor to avoid duplicate column names -

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -