How to get directory contents ?
Aleksas
Member Posts: 9
Hi,
recently I've discovered a problem and I don't know how could I solve it.
Customer saves his files in one directory, and I need to know how many files are in that directory, and what are the names of those files. I don't know what could I use.. Maybe somebody worked on that problem already, and could help me?
thanx in advance
recently I've discovered a problem and I don't know how could I solve it.
Customer saves his files in one directory, and I need to know how many files are in that directory, and what are the names of those files. I don't know what could I use.. Maybe somebody worked on that problem already, and could help me?
thanx in advance
0
Comments
-
Have a look at this thread: http://www.mibuso.com/forum/viewtopic.php?t=1672
You use the virtual table Files for that.No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)0 -
I worked on this problem when I needed to import contents of directory into navision. directory contained number of text files - invoices, one invoice = one file.
first I created text file using "DIR path >file" command, then I read this created file and I get contents of directory.
I am writing this post, because I do not understand using FILE table in Navision :-) and because this is an alternative to FILE table :-)Martin Bokůvka, AxiomProvis0 -
Doomhammer,
de file-table is really useful.
May be try this posting:
http://www.mibuso.com/forum/viewtopic.php?t=1633&highlight=recfile0 -
Thank you guys! It was really helpfull!0
-
Ha.
I looked at system table FILE and with using hints typed in this thread, I finally discovered how it really works :-). Strange thing with filter at PATH field. I thought, that this table without filters should show all drive contents. Is somewhere some official description of FILE table (and of all system and virtual tables)?
Folks, thanks for this hint. Maybe it should be in HOWTO's ;-)Martin Bokůvka, AxiomProvis0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 611 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions


