473,386 Members | 1,710 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

what language

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
Nov 13 '06 #1
5 1971
If you have done c++ before than I recommend C#. At least the syntaxt will be
the same. If you don't mind looking at VB then the 'My' namespace in VB.NET
will make things simpler for a newbie as it shortcuts lots of things for you.

Ciaran O'Donnell

"gerryR" wrote:
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
Nov 13 '06 #2
thanks for the reply Ciaran. I like the idea of VB as I imagine creating
the GUI would be easy, I can't even imagine how one would go about that in
C++, we never got that far in college. How about Visual C++? does this
merge the two?

Sorry for the noob questions, theres just too many options out there.
thanks again
gerry
"Ciaran O''Donnell" <Ci************@discussions.microsoft.comwrote in
message news:AF**********************************@microsof t.com...
If you have done c++ before than I recommend C#. At least the syntaxt will
be
the same. If you don't mind looking at VB then the 'My' namespace in
VB.NET
will make things simpler for a newbie as it shortcuts lots of things for
you.

Ciaran O'Donnell

"gerryR" wrote:
>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

Nov 13 '06 #3
You might want to study Microsoft's new Power Shell.

<%= Clinton Gallagher
NET csgallagher AT metromilwaukee.com
URL http://clintongallagher.metromilwaukee.com/
MAP http://wikimapia.org/#y=43038073&x=-...8&z=17&l=0&m=h

"gerryR" <ge**********@NOSPAMgerryr.comwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
thanks for the reply Ciaran. I like the idea of VB as I imagine creating
the GUI would be easy, I can't even imagine how one would go about that in
C++, we never got that far in college. How about Visual C++? does this
merge the two?

Sorry for the noob questions, theres just too many options out there.
thanks again
gerry
"Ciaran O''Donnell" <Ci************@discussions.microsoft.comwrote in
message news:AF**********************************@microsof t.com...
>If you have done c++ before than I recommend C#. At least the syntaxt
will be
the same. If you don't mind looking at VB then the 'My' namespace in
VB.NET
will make things simpler for a newbie as it shortcuts lots of things for
you.

Ciaran O'Donnell

"gerryR" wrote:
>>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


Nov 13 '06 #4
gerryR wrote:
thanks for the reply Ciaran. I like the idea of VB as I imagine creating
the GUI would be easy, I can't even imagine how one would go about that in
C++, we never got that far in college. How about Visual C++? does this
merge the two?
While you can create a GUI in Visual C++, i don't think it is as easy
as VB.Net or C#, but I'm not very familiar with it.

As far as VB.Net or C#, the process of creating a GUI is the same.
Neither one is easier than the other.

As to what language, since you are familiar with C++ syntax, you would
probably be more comfortable with C#.

Good Luck

Nov 13 '06 #5
Not Visual C++, C#, which is kind of like C++ on .Net medication.

I'd do it in VB, because it's easier -- you don't have all those
pesky curly braces and semi-colons, and it's not case-sensitive.
But if you've done C++ before, C# might be easier to comprehend.

You'll just have to look at both of them and decide which one
looks better to you.

Robin S.
------------------------------
"gerryR" <ge**********@NOSPAMgerryr.comwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
thanks for the reply Ciaran. I like the idea of VB as I imagine creating
the GUI would be easy, I can't even imagine how one would go about that in
C++, we never got that far in college. How about Visual C++? does this
merge the two?

Sorry for the noob questions, theres just too many options out there.
thanks again
gerry
"Ciaran O''Donnell" <Ci************@discussions.microsoft.comwrote in
message news:AF**********************************@microsof t.com...
>If you have done c++ before than I recommend C#. At least the syntaxt
will be
the same. If you don't mind looking at VB then the 'My' namespace in
VB.NET
will make things simpler for a newbie as it shortcuts lots of things for
you.

Ciaran O'Donnell

"gerryR" wrote:
>>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


Nov 14 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

220
by: Brandon J. Van Every | last post by:
What's better about Ruby than Python? I'm sure there's something. What is it? This is not a troll. I'm language shopping and I want people's answers. I don't know beans about Ruby or have...
226
by: Stephen C. Waterbury | last post by:
This seems like it ought to work, according to the description of reduce(), but it doesn't. Is this a bug, or am I missing something? Python 2.3.2 (#1, Oct 20 2003, 01:04:35) on linux2 Type...
5
by: Marian | last post by:
Hi, I am totaly novice in .NET and I am studying a book about this. There was mentioned "assembly". I did not understand, how function does it has . I would like to know the exact run of code...
65
by: perseus | last post by:
I think that everyone who told me that my question is irrelevant, in particular Mr. David White, is being absolutely ridiculous. Obviously, most of you up here behave like the owners of the C++...
6
by: Zhang Weiwu | last post by:
Hello. I am working with a php software project, in it (www.egroupware.org) Chinese simplified locate is "zh" while Traditional Chinese "tw". I wish to send correct language attribute in http...
35
by: GTO | last post by:
I do not believe that C# is the future of C++. I also do not believe that adding two thousand new library functions to the standard library is the future of C++. But what is the future of C++? Is...
121
by: typingcat | last post by:
First of all, I'm an Asian and I need to input Japanese, Korean and so on. I've tried many PHP IDEs today, but almost non of them supported Unicode (UTF-8) file. I've found that the only Unicode...
23
by: Xah Lee | last post by:
The Concepts and Confusions of Pre-fix, In-fix, Post-fix and Fully Functional Notations Xah Lee, 2006-03-15 Let me summarize: The LISP notation, is a functional notation, and is not a...
669
by: Xah Lee | last post by:
in March, i posted a essay “What is Expressiveness in a Computer Language”, archived at: http://xahlee.org/perl-python/what_is_expresiveness.html I was informed then that there is a academic...
6
by: TB | last post by:
Hi Everyone on comp.lang.c++: I am thinking about learning a programming language and I want to decide whether it is worthwhile spending my time learning the C++ programming language. I am a...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.