ABXZone Computer  Forums



Reply
 
Thread Tools Display Modes
Old 03-14-2014, 12:41 PM   #1
plainman007
Registered User
 
Join Date: Mar 2008
Posts: 782
creating a text list of all the files that are in a folder

Hi,

I wanted to get a text list of all the files in a particular folder.

I tried command prompt navigating to the directory, and then using DIR > MyList.txt and it creates a text file called MyList but inside are a lot of additional info such as some byte count etc instead of only purely the file names.

Any suggestions what i should do to get only the file names alone as a list into a .txt

Thanks
(Offline)   Reply With Quote

Advertisement [Remove Advertisement]
Old 03-14-2014, 08:56 PM   #2
zapionics<alt>
&lt;unknown level&gt;
 
zapionics<alt>'s Avatar
 
Join Date: Dec 2002
Location: AUSTRALIA
Posts: 6,105
Re: creating a text list of all the files that are in a folder

Just use the /b switch on DIR, should work.
__________________
***
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Please note: any advertising within this post has been placed there by the site owner and NOT by me!
Why not avoid the ads by joining the 'Zone today? The site is mostly ad free for members!
***



"You Cannot Hide..."
(Offline)   Reply With Quote
Old 03-15-2014, 09:36 AM   #3
Sandog
Moderator
 
Sandog's Avatar
 
Join Date: May 2003
Location: Alabama
Posts: 18,110
Re: creating a text list of all the files that are in a folder

Brings back old memories.
__________________
Windows 10 Pro / Corsair 760T Arctic White / ASUS ROG RAMPAGE VI APEX / Intel i7-7820X / ASUS ROG-STRIX-GTX1080-O8G-11GBPS / Corsair Dominator Platinum ROG Edition 32GB DDR4 DRAM 3200MHz C16 / SeaSonic Prime 750W Titanium / ASUS ROG SWIFT PG348Q / Intel Optane SSD 900P 480GB / Samsung 850 Pro 1TB / Ducky YoTS / ASUS ROG GLADIUS II / ASUS Essence STX / Audioengine HDP6, N22, S8 / AKG K712 PRO


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
(Offline)   Reply With Quote
Old 03-17-2014, 11:34 AM   #4
plainman007
Registered User
 
Join Date: Mar 2008
Posts: 782
Re: creating a text list of all the files that are in a folder

(Offline)   Reply With Quote
Reply


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

Forum Jump



Powered by vBulletin® Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com

© 2006 - 2016 ABXZone Forums | About ABX Zone Forums | Advertisers | Investors | Legal | A member of the Crowdgather Forum Community