 |
24-11-2007, 08:35 PM
|
#1 (permalink)
|
|
Pee into the Wind...
Join Date: May 2007
Location: Mumbai
Posts: 782
|
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.
- 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.
- 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.
- 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.
|
|
|
|
Advertisements. Register and be a member of the community to get rid of them.
|
|
Advertisement
|
|
24-11-2007, 08:41 PM
|
#2 (permalink)
|
|
Still Shining!
Join Date: Nov 2006
Location: Up 'n' above
Posts: 1,174
|
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
|
|
|
24-11-2007, 08:47 PM
|
#3 (permalink)
|
|
Alpha Geek
Join Date: Jun 2007
Location: Bangalore
Posts: 785
|
Re: Create list of all files and folders with a right-click!!
Works without fail
Thanks for nice tutorial.
__________________
++
|
|
|
24-11-2007, 08:54 PM
|
#4 (permalink)
|
|
TechTin.com
Join Date: Jun 2005
Location: www.TechTin.com
Posts: 4,090
|
Re: Create list of all files and folders with a right-click!!
nice one buddy
|
|
|
24-11-2007, 09:02 PM
|
#5 (permalink)
|
|
Pee into the Wind...
Join Date: May 2007
Location: Mumbai
Posts: 782
|
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.
|
|
|
25-11-2007, 05:19 AM
|
#6 (permalink)
|
|
The High 5 Flyer
Join Date: Jun 2005
Location: New Delhi
Posts: 1,771
|
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
|
|
|
25-11-2007, 06:45 AM
|
#7 (permalink)
|
|
Guest
|
Re: Create list of all files and folders with a right-click!!
cool trick m8.
work perfectly for me.
keep them coming.
|
|
|
|
25-11-2007, 06:53 PM
|
#8 (permalink)
|
|
Right Off the Assembly Line
Join Date: Oct 2004
Posts: 8
|
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 !
|
|
|
25-11-2007, 07:26 PM
|
#9 (permalink)
|
|
Fast 'N' Furious
Join Date: Jul 2006
Location: Geek's Heaven
Posts: 11,169
|
Re: Create list of all files and folders with a right-click!!
Nice find buddy
|
|
|
25-11-2007, 07:52 PM
|
#10 (permalink)
|
|
Still Shining!
Join Date: Nov 2006
Location: Up 'n' above
Posts: 1,174
|
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
|
|
|
26-11-2007, 01:41 PM
|
#11 (permalink)
|
|
Guest
|
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)
|
|
|
|
26-11-2007, 02:01 PM
|
#12 (permalink)
|
|
Pawned!... Beyond GODLIKE
Join Date: May 2006
Location: World Of Warcraft -DOTA
Posts: 1,051
|
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.
|
|
|
26-11-2007, 02:25 PM
|
#13 (permalink)
|
|
Guest
|
Re: Create list of all files and folders with a right-click!!
Cannot understand what u are asking.
File Type ...???
Write the appropiate word.
|
|
|
|
28-11-2007, 04:28 PM
|
#14 (permalink)
|
|
Pee into the Wind...
Join Date: May 2007
Location: Mumbai
Posts: 782
|
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.
|
|
|
29-11-2007, 11:23 PM
|
#15 (permalink)
|
|
Right Off the Assembly Line
Join Date: Apr 2007
Posts: 21
|
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. - 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.
- 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.
- 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
|
|
|
30-11-2007, 06:31 AM
|
#16 (permalink)
|
|
The High 5 Flyer
Join Date: Jun 2005
Location: New Delhi
Posts: 1,771
|
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....
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|