Jump to content

Script to get all files and folders in a directory and save to txt file


Recommended Posts

Posted

Hi all,

 

I am in need of a script to produce a txt file congaing everything in a folder and all of its sub directories including all the files and folders in there e.g

 

C:\

-C:\Users\

--C:\Users\TestUser\

--C:\Users\Fake Account\

---C:\Users\TestUser\file1.txt

---C:\Users\TestUser\idontknow.bat

-C:\Windows\

-C:\Program Files\

 

etc etc if u get the idea, Does anyone know of a script that could do that ?

Posted

Hi Steve,

 

Thanks for the reply, However that only lists the stuff in the specific folder not in sub-directories etc. Which is what I would like to do. Thanks Anyway

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...