![]() |
#1
|
|||
|
|||
![]()
This is not strictly about word but it is a tool for making documents easier.
Basically, I want to do this but with an extra option of final .txt file not showing file extensions, just file names. Can this be done the same way or is a special software needed? |
#2
|
||||
|
||||
![]()
Hi metamag,
For the example in the link, it's a simple matter of omitting the final '.txt', ie: DIR /B /O:N > filenames
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
![]()
I meant the filenames within the filenames.txt file not showing extensions..
|
#4
|
||||
|
||||
![]()
Hi Metamag,
That's not possible with the Dir command. You would have to parse the data afterwards, which would be possible with vba, for example. Alternatively, it should be possible to create such a list using the windows vb scripting lanuage - outside my area of expertise, though.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
dineshtgs | Word Tables | 1 | 04-07-2011 01:27 AM |
Keep formatting when copying a text box between document. | dhapp | Word | 0 | 07-15-2010 11:20 AM |
![]() |
topdogg069 | Word | 2 | 04-02-2010 02:34 PM |
![]() |
Fossils13 | Office | 1 | 02-22-2010 08:39 PM |
![]() |
kdogg121 | Word | 1 | 07-07-2009 02:50 AM |