473,769 Members | 1,632 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2007
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.mi crosoft.comwrot e in
message news:AF******** *************** ***********@mic rosoft.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**********@N OSPAMgerryr.com wrote in message
news:%2******** ********@TK2MSF TNGP02.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.mi crosoft.comwrot e in
message news:AF******** *************** ***********@mic rosoft.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**********@N OSPAMgerryr.com wrote in message
news:%2******** ********@TK2MSF TNGP02.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.mi crosoft.comwrot e in
message news:AF******** *************** ***********@mic rosoft.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
19154
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 any preconceived ideas about it. I have noticed, however, that every programmer I talk to who's aware of Python is also talking about Ruby. So it seems that Ruby has the potential to compete with and displace Python. I'm curious on what basis it...
226
12674
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 "help", "copyright", "credits" or "license" for more information. >>> d1 = {'a':1} >>> d2 = {'b':2} >>> d3 = {'c':3}
5
2372
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 (intermediate language and so on). Is there any page on internet, which makes me clear? Thanx
65
5392
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++ language. A C++ interface installation IS ABOUT THE C++ LANGUAGE! The language does not possess the ability to handle even simple file directory manipulation. Those wise people that created it did not take care of it. So, BOOST is a portable...
6
22273
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 header, I found "zh" is not standard. I found this line in apache2's default httpd.conf # Simplified Chinese (zh-CN) AddLanguage zh-CN .zh-cn
35
3355
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 it as good as a programming language can get? Like so many of you, I programmed speech recognizers, image recognition systems, a portion of a chess program, lots of numeric code using STL, and tons of other applications in C++, (even firmware...
121
10170
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 support IDEs are DreamWeaver 8 and Zend PHP Studio. DreamWeaver provides full support for Unicode. However, DreamWeaver is a web editor rather than a PHP IDE. It only supports basic IntelliSense (or code completion) and doesn't have anything...
23
3648
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 so-called pre-fix notation or algebraic notation. Algebraic notations have the concept of operators, meaning, symbols placed around arguments. In algebraic in-fix notation, different
669
26192
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 paper written on this subject. On the Expressive Power of Programming Languages, by Matthias Felleisen, 1990. http://www.ccs.neu.edu/home/cobbe/pl-seminar-jr/notes/2003-sep-26/expressive-slides.pdf
6
2554
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 starting C++ programmer. By that I mean that I have written one small application in C++ on a real job that required some modular programming. I am also familiar with the Object-Oriented Programming techniques although I haven't used them...
0
9589
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
9423
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10211
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9863
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8870
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5447
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3958
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3561
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.