473,785 Members | 2,282 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 2008
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
19164
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
12705
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
2373
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
5394
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
22274
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
3359
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
10180
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
26220
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
9646
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
10157
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10097
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8983
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...
1
7505
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6742
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5518
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3658
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2887
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.