Jul 10, 2017, 3:21 PM
Re: [BillKSmith] Perl to create a Column
You are right, reading back on my question and it makes little sense. I'll clarify.
What I am using
OS Windows 7
I'm getting my data by the using following command.
dir /b > listoffilenames.txt
listfilenames.txt as an example would contain.
I need Perl to create a tab delimited file with a list of the filenames from listfilenames.txt and in the column beside those filenames I want that column to say something like "Send This File".
So my desired output should look like this ((\t) is to show that I want it tab delimited)
1234.pdf (\t) Send This File
1245.pdf (\t) Send This File
1678.pdf (\t) Send This File
I have done it with Awk but I haven't got access to my Linux machine at the moment to get the exact code.
Any help is greatly appreciated.
(This post was edited by Pshields1984 on Jul 10, 2017, 3:22 PM)