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 5 1973
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
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
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
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
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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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...
|
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...
|
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...
|
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++...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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,...
|
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...
|
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,...
| |