G
gerryR
Not sure where to post this as I don't know what language it applies to
(yet)
Basically I work in IT and often have to manipulate folder structures or
large amounts of text files and am looking for the best way of automating
this procedure specifically through a programming language. I did Pascal,
and C++ in college (several years ago now) so I'm sure the basics of coding
will come back to me once I start.
Question
What language would you recommend as the best way of dealing with these
types of issues? I know dos script has the ability to do some of this but
I'd prefer a more polished approach (ie to be able to make an executable
with some sort of basic gui)
eg situation1:
We have a folder structure (100s of folders deep) with a job in the name of
every folder. We want to change the job no in all the folders.
Here we'd give the option so say point to the folder structure, replace what
with what etc
eg situation2:
We need to generate 100s of files txt/ html which are basically the same
code with some a couple of minor changes.
Here we'd say combine this (paste the 1st bit of code), with 1 line from
this (link to a txt file with a list of usernames on each line) and this
(paste the 2nd bit of code) and each file it generates would take the next
line from the txt file and the next one and so on.
Sorry for the long post, I know the egs are specific but in general working
with files and folders would come up alot. Obviously I could migrate to
more ambitious projects once I improved.
thanks for any feedback
gerryR
(yet)
Basically I work in IT and often have to manipulate folder structures or
large amounts of text files and am looking for the best way of automating
this procedure specifically through a programming language. I did Pascal,
and C++ in college (several years ago now) so I'm sure the basics of coding
will come back to me once I start.
Question
What language would you recommend as the best way of dealing with these
types of issues? I know dos script has the ability to do some of this but
I'd prefer a more polished approach (ie to be able to make an executable
with some sort of basic gui)
eg situation1:
We have a folder structure (100s of folders deep) with a job in the name of
every folder. We want to change the job no in all the folders.
Here we'd give the option so say point to the folder structure, replace what
with what etc
eg situation2:
We need to generate 100s of files txt/ html which are basically the same
code with some a couple of minor changes.
Here we'd say combine this (paste the 1st bit of code), with 1 line from
this (link to a txt file with a list of usernames on each line) and this
(paste the 2nd bit of code) and each file it generates would take the next
line from the txt file and the next one and so on.
Sorry for the long post, I know the egs are specific but in general working
with files and folders would come up alot. Obviously I could migrate to
more ambitious projects once I improved.
thanks for any feedback
gerryR