comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Writing each filename into new line of text file
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Writing each filename into new line of text file [message #91060] Fri, 29 May 2015 05:48 Go to previous message
Kai Heckel is currently offline  Kai Heckel
Messages: 51
Registered: April 2015
Member
Hey!

I'd like to list my files and write them into a text file. Each filename should be in a separate line....
Shouldn't be to hard ;)

This is what I have:

PRO test
cd, 'Path of my files'
files_all = FILE_SEARCH()
openw,lun1,'fileinfo.txt', /get_lun
printf, lun1, files_all, FORMAT='(A)'
close, lun1
free_lun,lun1
END

I couldn't find any suitable command till now...

Thanks!
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: NEWTON: Roundoff problem in lnsrch_d
Next Topic: Confused about image dimensions

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 16:13:50 PDT 2025

Total time taken to generate the page: 0.00298 seconds