Batch file help!!
Solved/Closed
Bharath
-
Jan 30, 2010 at 10:12 AM
rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 - Feb 1, 2010 at 08:25 AM
rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 - Feb 1, 2010 at 08:25 AM
Related:
- Batch file help!!
- Windows 10 iso file download 64-bit - Download - Windows
- Kmspico zip file download - Download - Other
- Ping batch file output to text - Guide
- Dvi file - Guide
- Messenger file downloader - Guide
3 responses
rizvisa1
Posts
4478
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
May 5, 2022
766
Jan 31, 2010 at 08:26 AM
Jan 31, 2010 at 08:26 AM
Why batch ?
why not run the command
go to command prompt
go to the root folder from where you want to scan
type dir /ad /b /s > myfolderlist.txt
why not run the command
go to command prompt
go to the root folder from where you want to scan
type dir /ad /b /s > myfolderlist.txt
rizvisa1
Posts
4478
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
May 5, 2022
766
Jan 31, 2010 at 09:17 AM
Jan 31, 2010 at 09:17 AM
ONE CORRECTION
dir /ad /b /s > myfolderlist.txt
dir /ad /b /s > myfolderlist.txt
rizvisa1
Posts
4478
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
May 5, 2022
766
Feb 1, 2010 at 08:25 AM
Feb 1, 2010 at 08:25 AM
You are welcome. If you dont have sub folders within subfolders, but rather have all the folders at one level then you could try thing
go to to the target folder and type
dir /ad /b >myfolderlist.txt
this will create a file that contains all the sub folders at that level (it would not look at the whole tree of folder) and in which case you should have have to use notepad to remove the extra path info
go to to the target folder and type
dir /ad /b >myfolderlist.txt
this will create a file that contains all the sub folders at that level (it would not look at the whole tree of folder) and in which case you should have have to use notepad to remove the extra path info