Forum     

Go Back   Digit Technology Discussion Forum > Community > Tutorials
Register FAQ Calendar Mark Forums Read

Tutorials This section offers tutorials and How to's on just about anything related to computers and IT. Note: All tutorials are courtesy the posters and not verified by Digit


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 24-11-2007, 08:35 PM   #1 (permalink)
Pee into the Wind...
 
shady_inc's Avatar
 
Join Date: May 2007
Location: Mumbai
Posts: 782
Default Create list of all files and folders with a right-click!!


Create a list of all files and folders inside a particular folder with a right-click!!
Taken from The Elder Geeks

What's it about??: After this tutorial,an option will be available whenever you right-click any folder which will display all the files and sub-folders inside that folder and save it to a text file.
  1. Create a .bat file
    Open Notepad and copy-paste the following data in it.
    Quote:
    cd %1
    dir /a /b /-p /o:gen >C:\filelist.txt
    start notepad C:\filelist.txt
    You can edit the path to your preference.Now name this file anything you wish and save it anywhere you wish.
  2. Make file visible in right click context menu.
    Open explorer window,Go to Tools>Folder Options..>File types and from the registered file types list,select FOLDER.Click on Advanced>New....In the Action box,type in the name you want in context menu.For e.g. Generate File List..Then click on Browse..,navigate to the .bat file created in step 1 and save the changes.
  3. Congratulations!!
    You are done with the tutorial!!.Now right click any folder and select Generate File Listing.A text file will be created in your C:\ drive [or any path you specified in the .bat file.] called filelist.txt which contains list of all files and sub-folders in the parent folder!
"You Will Never Walk Alone"
__________________
Life is as complicated as you say it is.
shady_inc is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 24-11-2007, 08:41 PM   #2 (permalink)
Still Shining!
 
Lucky_star's Avatar
 
Join Date: Nov 2006
Location: Up 'n' above
Posts: 1,174
Default Re: Create list of all files and folders with a right-click!!

Nice One!...

But its not showing the subfolders
__________________
Simplicity is the ultimate Sophistication
HP dv6 6121tx: Core i7 2630 QM | 4GB | AMD 6770M 2GB GDDR5 | 640 GB
Nokia N86 8MP
Lucky_star is offline  
Old 24-11-2007, 08:47 PM   #3 (permalink)
New
Alpha Geek
 
New's Avatar
 
Join Date: Jun 2007
Location: Bangalore
Posts: 785
Default Re: Create list of all files and folders with a right-click!!

Works without fail
Thanks for nice tutorial.
__________________
++
New is offline  
Old 24-11-2007, 08:54 PM   #4 (permalink)
TechTin.com
 
ravi_9793's Avatar
 
Join Date: Jun 2005
Location: www.TechTin.com
Posts: 4,090
Default Re: Create list of all files and folders with a right-click!!

nice one buddy
ravi_9793 is offline  
Old 24-11-2007, 09:02 PM   #5 (permalink)
Pee into the Wind...
 
shady_inc's Avatar
 
Join Date: May 2007
Location: Mumbai
Posts: 782
Default Re: Create list of all files and folders with a right-click!!

Quote:
Originally Posted by Lucky_star
Nice One!...

But its not showing the subfolders
Works perfectly on my side.If you followed everything perfectly,the only reason I can think of is: Did the folder you try it on have any sub-folders??

Oh and those who tried it out,have a look at the source too.I lists quite a few modifications to this trick.
__________________
Life is as complicated as you say it is.
shady_inc is offline  
Old 25-11-2007, 05:19 AM   #6 (permalink)
The High 5 Flyer
 
sam9s's Avatar
 
Join Date: Jun 2005
Location: New Delhi
Posts: 1,771
Default Re: Create list of all files and folders with a right-click!!

this thing has messed up my folder opening options. First........ does anybody has an idea why the edit or delete option is greyed out in the Edit file type box after I click on advance......................the problem is now when I double click on any folder its opening in a seperate window though the option of opening in the same window is selected in the properties..........and I cant revert coz there is no option to default things back or delete/edit. (That option is greyed out).......grrrrr
sam9s is offline  
Old 25-11-2007, 06:45 AM   #7 (permalink)
vaibhavtek
Guest
 
Posts: n/a
Default Re: Create list of all files and folders with a right-click!!

cool trick m8.
work perfectly for me.
keep them coming.
 
Old 25-11-2007, 06:53 PM   #8 (permalink)
Right Off the Assembly Line
 
Romeo's Avatar
 
Join Date: Oct 2004
Posts: 8
Default Re: Create list of all files and folders with a right-click!!

Thanks for a good trick ! btw, Does it work in Win - Vista ? If Yes, How ?
__________________
An eYe Is Watching You !
Romeo is offline  
Old 25-11-2007, 07:26 PM   #9 (permalink)
Fast 'N' Furious
 
topgear's Avatar
 
Join Date: Jul 2006
Location: Geek's Heaven
Posts: 11,169
Default Re: Create list of all files and folders with a right-click!!

Nice find buddy
__________________
ToPsPeEeD = FaSt BuT StEaDy

AMD Radeon HD 6850 OverClocked to 1 Ghz !!!

Blog : http://topgeartopspeed.wordpress.com/
----------------------------------------------------
Never buy viewsonic products : http://tinyurl.com/ykwx4oa
topgear is offline  
Old 25-11-2007, 07:52 PM   #10 (permalink)
Still Shining!
 
Lucky_star's Avatar
 
Join Date: Nov 2006
Location: Up 'n' above
Posts: 1,174
Default Re: Create list of all files and folders with a right-click!!

Yeah, now its working fine. I don't know what happened at that time
__________________
Simplicity is the ultimate Sophistication
HP dv6 6121tx: Core i7 2630 QM | 4GB | AMD 6770M 2GB GDDR5 | 640 GB
Nokia N86 8MP
Lucky_star is offline  
Old 26-11-2007, 01:41 PM   #11 (permalink)
vaibhavtek
Guest
 
Posts: n/a
Wink Re: Create list of all files and folders with a right-click!!

Quote:
Originally Posted by Romeo
Thanks for a good trick ! btw, Does it work in Win - Vista ? If Yes, How ?
it must work.
just try and then u will understand.8)
 
Old 26-11-2007, 02:01 PM   #12 (permalink)
Pawned!... Beyond GODLIKE
 
fun2sh's Avatar
 
Join Date: May 2006
Location: World Of Warcraft -DOTA
Posts: 1,051
Default Re: Create list of all files and folders with a right-click!!

where is the file types association option for vista?
__________________
If God has indeed created Himself in His own image, then I submit to you that God is a cockroach :mrgreen:!!!!!!!!

Last edited by fun2sh; 26-11-2007 at 02:41 PM.
fun2sh is offline  
Old 26-11-2007, 02:25 PM   #13 (permalink)
vaibhavtek
Guest
 
Posts: n/a
Default Re: Create list of all files and folders with a right-click!!

Cannot understand what u are asking.
File Type ...???
Write the appropiate word.
 
Old 28-11-2007, 04:28 PM   #14 (permalink)
Pee into the Wind...
 
shady_inc's Avatar
 
Join Date: May 2007
Location: Mumbai
Posts: 782
Default Re: Create list of all files and folders with a right-click!!

Quote:
Originally Posted by fun2sh
where is the file types association option for vista?
AFAIK,this will work only on XP.the steps must be different in Vista.
__________________
Life is as complicated as you say it is.
shady_inc is offline  
Old 29-11-2007, 11:23 PM   #15 (permalink)
Right Off the Assembly Line
 
tanvi chaturvedi's Avatar
 
Join Date: Apr 2007
Posts: 21
Default Re: Create list of all files and folders with a right-click!!

hy its nice...

what if i wanna delete dat option frm context menu....

remove tab is inactive in the selection


Quote:
Originally Posted by shady_inc
Create a list of all files and folders inside a particular folder with a right-click!!
Taken from The Elder Geeks

What's it about??: After this tutorial,an option will be available whenever you right-click any folder which will display all the files and sub-folders inside that folder and save it to a text file.
  1. Create a .bat file
    Open Notepad and copy-paste the following data in it.

    You can edit the path to your preference.Now name this file anything you wish and save it anywhere you wish.
  2. Make file visible in right click context menu.
    Open explorer window,Go to Tools>Folder Options..>File types and from the registered file types list,select FOLDER.Click on Advanced>New....In the Action box,type in the name you want in context menu.For e.g. Generate File List..Then click on Browse..,navigate to the .bat file created in step 1 and save the changes.
  3. Congratulations!!
    You are done with the tutorial!!.Now right click any folder and select Generate File Listing.A text file will be created in your C:\ drive [or any path you specified in the .bat file.] called filelist.txt which contains list of all files and sub-folders in the parent folder!
"You Will Never Walk Alone"
__________________
my desires are my deservance
tanvi chaturvedi is offline  
Old 30-11-2007, 06:31 AM   #16 (permalink)
The High 5 Flyer
 
sam9s's Avatar
 
Join Date: Jun 2005
Location: New Delhi
Posts: 1,771
Default Re: Create list of all files and folders with a right-click!!

Quote:
Originally Posted by tanvi chaturvedi
what if i wanna delete dat option frm context menu.... remove tab is inactive in the selection
yep thats what I said n thats what exactly has happened with me, cant revert, I know need to tweak the registry for that, but I prefered to run my ghost image to bring the original state back....
sam9s is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Create your own private network and share folders webgenius Tutorials 1 24-02-2007 01:45 AM
Tutorial: How to Create Command-Line Shortcuts for frequently Accessed folders/files sridatta Tutorials 5 30-01-2007 08:09 PM
How to change the default Option for double click on folders sridatta Software Q&A 7 28-03-2006 11:27 PM
Music/Song Cataloger - Create folders g_goyal2000 QnA (read only) 1 15-02-2006 11:40 PM
Can't Create New Folders navneeth_snr QnA (read only) 2 13-03-2005 10:40 PM

 
Latest Threads
- by Who
- by Krow
- by clmlbx
- by Tech&ME
- by icebags

Advertisement




All times are GMT +5.5. The time now is 09:10 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2