473,322 Members | 1,480 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

compiling the names of 5000 files in one textfile

i have a folder contain 5000 access files.
i want to compile the names of the 5000 access files in one text file
Sep 19 '07 #1
5 1848
bartonc
6,596 Expert 4TB
i have a folder contain 5000 access files.
i want to compile the names of the 5000 access files in one text file
How you go about that will depend on the tools that you are using.
For example, I could write you a nifty Python script, but it probably wouldn't do you much good.
If you are using VB, you may want to ask in that forum. If you have some other scripting language in mind, please say so. Thanks for joining.
Sep 19 '07 #2
Nepomuk
3,112 Expert 2GB
i have a folder contain 5000 access files.
i want to compile the names of the 5000 access files in one text file
If you don't mean "compile", but you just want a list of all files in one textfile, try this:
  • Open a command line (Start -> Run -> cmd -> Enter)
  • change to the directory which contains all those files (cd .. to go a directory up, cd access to enter the directory access, D: to change to drive D) and
  • type
    Expand|Select|Wrap|Line Numbers
    1. dir /B > list.txt
That will create a list of all filenames in a file called list.txt in that directory.

Greetings,
Nepomuk
Sep 20 '07 #3
If you don't mean "compile", but you just want a list of all files in one textfile, try this:
  • Open a command line (Start -> Run -> cmd -> Enter)
  • change to the directory which contains all those files (cd .. to go a directory up, cd access to enter the directory access, D: to change to drive D) and
  • type
    Expand|Select|Wrap|Line Numbers
    1. dir /B > list.txt
That will create a list of all filenames in a file called list.txt in that directory.

Greetings,
Nepomuk
thank you very much
this code worked very well
thanks
Sep 20 '07 #4
tkank you very much for your help

ahmed abdelghany
Sep 20 '07 #5
Nepomuk
3,112 Expert 2GB
thank you very much
this code worked very well
thanks
Glad I could help you! :-)

Greetings,
Nepomuk
Sep 20 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: H. S. | last post by:
Hi, I am trying to compile these set of C++ files and trying out class inheritence and function pointers. Can anybody shed some light why my compiler is not compiling them and where I am going...
16
by: iwdu15 | last post by:
how can i open a file i saved and place the info into different text boxes?
3
by: Billy | last post by:
I do a SELECT * from table command in an ASP page to build a text file out on our server, but the export is not to allow a field name rows of records. The first thing I get is a row with all the...
1
by: Billy | last post by:
I do a SELECT * from table command in an ASP page to build a text file out on our server, but the export is not to allow a field name rows of records. The first thing I get is a row with all the...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.