Operating Systems
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   Dev Hardware ForumsSOFTWAREOperating Systems

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Hardware Forums Sponsor:
  Trader Rating: 0 · #1  
Old November 16th, 2009, 11:25 PM
rosendinho rosendinho is offline
n00b DevH'er
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Nov 2009
Posts: 3 rosendinho User rank is Corporal (100 - 500 Reputation Level)rosendinho User rank is Corporal (100 - 500 Reputation Level)rosendinho User rank is Corporal (100 - 500 Reputation Level)rosendinho User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 45 m 33 sec
Reputation Power: 0
WinXP - Need help with writing batch files

Hello everyone,
I am learning how to write batch files. would really appreciate if someone could help two separate batch files that work. i have typed all instructions below, thank you so much in advance.

1-write a simple batch file that will copy all the text from three separate files to a single file. this batch must ask for the tiltle of the text file. this title will be added to the beginning of the created file. this file must also state the filename of the newly created file as output to the screen.

2-write a batch file to aid your user's in an install of a new application software. Not all users have the application, for licensing make sure to only install to those users that have the software. the replacement software needs to be located in the same path as the original to maintain continuity. the old software in in C:\apps\newapp. There are two files that will need to remain in the install directory for its reporting features to function. those files will be name.ini and location.ini. check to see if they are there, replace them if they are not. there are good copies on the N:\apps\ini folder. the new install folder is on the server at N:\newstuff\apps\ . All of the files located in that directory will need to be in the new install. Maintain the local copy of the old install directory and all of its contents. There should be little or no user interaction. Except to notify them when the install is complete.

thank you so much once again

Reply With Quote
  Trader Rating: 0 · #2  
Old November 16th, 2009, 11:50 PM
archnaid's Avatar
archnaid archnaid is offline
Moderator
Dev Hardware Specialist (4000 - 4499 posts)
 
Join Date: Feb 2004
Posts: 4,060 archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)  Folding Points: 692672 Folding Title: Super Ultimate Folder - Level 2Folding Points: 692672 Folding Title: Super Ultimate Folder - Level 2Folding Points: 692672 Folding Title: Super Ultimate Folder - Level 2Folding Points: 692672 Folding Title: Super Ultimate Folder - Level 2Folding Points: 692672 Folding Title: Super Ultimate Folder - Level 2Folding Points: 692672 Folding Title: Super Ultimate Folder - Level 2Folding Points: 692672 Folding Title: Super Ultimate Folder - Level 2
Time spent in forums: 1 Month 1 Week 2 Days 13 h 59 m
Reputation Power: 5917
Homework?

Reply With Quote
  Trader Rating: 2 · #3  
Old November 17th, 2009, 07:55 AM
Dngrsone's Avatar
Dngrsone Dngrsone is offline
Designated Asshole
Dev Hardware God 8th Plane (8500 - 8999 posts)
 
Join Date: May 2004
Location: In the space between you and I
Posts: 8,782 Dngrsone User rank is General 199th Grade (Above 100000 Reputation Level)Dngrsone User rank is General 199th Grade (Above 100000 Reputation Level)Dngrsone User rank is General 199th Grade (Above 100000 Reputation Level)Dngrsone User rank is General 199th Grade (Above 100000 Reputation Level)Dngrsone User rank is General 199th Grade (Above 100000 Reputation Level)Dngrsone User rank is General 199th Grade (Above 100000 Reputation Level)Dngrsone User rank is General 199th Grade (Above 100000 Reputation Level)Dngrsone User rank is General 199th Grade (Above 100000 Reputation Level)Dngrsone User rank is General 199th Grade (Above 100000 Reputation Level)Dngrsone User rank is General 199th Grade (Above 100000 Reputation Level)Dngrsone User rank is General 199th Grade (Above 100000 Reputation Level)Dngrsone User rank is General 199th Grade (Above 100000 Reputation Level)Dngrsone User rank is General 199th Grade (Above 100000 Reputation Level)Dngrsone User rank is General 199th Grade (Above 100000 Reputation Level)Dngrsone User rank is General 199th Grade (Above 100000 Reputation Level)Dngrsone User rank is General 199th Grade (Above 100000 Reputation Level)  Folding Points: 510702 Folding Title: Super Ultimate Folder - Level 2Folding Points: 510702 Folding Title: Super Ultimate Folder - Level 2Folding Points: 510702 Folding Title: Super Ultimate Folder - Level 2Folding Points: 510702 Folding Title: Super Ultimate Folder - Level 2Folding Points: 510702 Folding Title: Super Ultimate Folder - Level 2Folding Points: 510702 Folding Title: Super Ultimate Folder - Level 2Folding Points: 510702 Folding Title: Super Ultimate Folder - Level 2
Time spent in forums: 7 Months 6 Days 19 h 16 m
Reputation Power: 14221
Looks like it to me.
__________________
Ask Questions the Smart Way


"In front of a monitor is a dangerous place from which to view the world." --Terri Wells

Enable BSOD: Control Panel/Systems, Advanced Tab, hit the Settings button under Startup and Recovery, and under the System Failure area, uncheck the Automatically Restart checkbox.

Reply With Quote
  Trader Rating: 0 · #4  
Old November 19th, 2009, 12:39 AM
rosendinho rosendinho is offline
n00b DevH'er
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Nov 2009
Posts: 3 rosendinho User rank is Corporal (100 - 500 Reputation Level)rosendinho User rank is Corporal (100 - 500 Reputation Level)rosendinho User rank is Corporal (100 - 500 Reputation Level)rosendinho User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 45 m 33 sec
Reputation Power: 0
batch files

Quote:
Originally Posted by archnaid
Homework?

YES ITS HOMEWORK, NEED HELP WHATEVER AM DOING IS NOT WORKING.

Reply With Quote
  Trader Rating: 0 · #5  
Old November 19th, 2009, 02:03 AM
archnaid's Avatar
archnaid archnaid is offline
Moderator
Dev Hardware Specialist (4000 - 4499 posts)
 
Join Date: Feb 2004
Posts: 4,060 archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)  Folding Points: 692672 Folding Title: Super Ultimate Folder - Level 2Folding Points: 692672 Folding Title: Super Ultimate Folder - Level 2Folding Points: 692672 Folding Title: Super Ultimate Folder - Level 2Folding Points: 692672 Folding Title: Super Ultimate Folder - Level 2Folding Points: 692672 Folding Title: Super Ultimate Folder - Level 2Folding Points: 692672 Folding Title: Super Ultimate Folder - Level 2Folding Points: 692672 Folding Title: Super Ultimate Folder - Level 2
Time spent in forums: 1 Month 1 Week 2 Days 13 h 59 m
Reputation Power: 5917
Well, what are you doing?

We're not going to do your homework for you, but I'm sure members would be willing to help you learn.

Reply With Quote
  Trader Rating: 2 · #6  
Old November 19th, 2009, 08:11 AM
Dngrsone's Avatar
Dngrsone Dngrsone is offline
Designated Asshole
Dev Hardware God 8th Plane (8500 - 8999 posts)
 
Join Date: May 2004
Location: In the space between you and I
Posts: 8,782 Dngrsone User rank is General 199th Grade (Above 100000 Reputation Level)Dngrsone User rank is General 199th Grade (Above 100000 Reputation Level)Dngrsone User rank is General 199th Grade (Above 100000 Reputation Level)Dngrsone User rank is General 199th Grade (Above 100000 Reputation Level)Dngrsone User rank is General 199th Grade (Above 100000 Reputation Level)Dngrsone User rank is General 199th Grade (Above 100000 Reputation Level)Dngrsone User rank is General 199th Grade (Above 100000 Reputation Level)Dngrsone User rank is General 199th Grade (Above 100000 Reputation Level)Dngrsone User rank is General 199th Grade (Above 100000 Reputation Level)Dngrsone User rank is General 199th Grade (Above 100000 Reputation Level)Dngrsone User rank is General 199th Grade (Above 100000 Reputation Level)Dngrsone User rank is General 199th Grade (Above 100000 Reputation Level)Dngrsone User rank is General 199th Grade (Above 100000 Reputation Level)Dngrsone User rank is General 199th Grade (Above 100000 Reputation Level)Dngrsone User rank is General 199th Grade (Above 100000 Reputation Level)Dngrsone User rank is General 199th Grade (Above 100000 Reputation Level)  Folding Points: 510702 Folding Title: Super Ultimate Folder - Level 2Folding Points: 510702 Folding Title: Super Ultimate Folder - Level 2Folding Points: 510702 Folding Title: Super Ultimate Folder - Level 2Folding Points: 510702 Folding Title: Super Ultimate Folder - Level 2Folding Points: 510702 Folding Title: Super Ultimate Folder - Level 2Folding Points: 510702 Folding Title: Super Ultimate Folder - Level 2Folding Points: 510702 Folding Title: Super Ultimate Folder - Level 2
Time spent in forums: 7 Months 6 Days 19 h 16 m
Reputation Power: 14221
You see, there's a difference between say, posting a faulty script and asking for help debugging it and just plain asking someone else to write your code for you.

In the former, at least we get the feeling that you are putting forth some effort toward learning something; whereas in the latter case, you are (in our quite estimable opinions) just being a lazy git.

Oh, and all caps--- just plain shouting to us, which is very rude, and not well-tolerated by grumpy old moderators such as myself, who are just as liable to bounce your butt out of here for good as to help in any fashion.

Last edited by Dngrsone : November 25th, 2009 at 04:01 PM.

Reply With Quote
  Trader Rating: 0 · #7  
Old November 25th, 2009, 03:53 PM
rosendinho rosendinho is offline
n00b DevH'er
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Nov 2009
Posts: 3 rosendinho User rank is Corporal (100 - 500 Reputation Level)rosendinho User rank is Corporal (100 - 500 Reputation Level)rosendinho User rank is Corporal (100 - 500 Reputation Level)rosendinho User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 45 m 33 sec
Reputation Power: 0
batch files

Quote:
Originally Posted by Dngrsone
YOu see, there's a difference between say, posting a faulty script and asking for help debugging it and just plain asking someone else to write your code for you.

In the former, at least we get the feeling that you are putting forth some effort toward learning something; whereas in the latter case, you are (in our quite estimable opinions) just being a lazy git.

Oh, and all caps--- just plain shouting to us, which is very rude, and not well-tolerated by grumpy old moderators such as myself, who are just as liable to bounce your butt out of here for good as to help in any fashion.


Dngrsone, i concur with you and i apologize for my impertinence. truth is i dont know too much about computers and this DOS class am taking is my first of many of its kind. Everything seemed to be going well untill i had to travel and missed all my classes in regards to "BATCH FILES" but like you guys stated i will post what am working on and hopefully you guys can give me some feedback on it.
Also thanks for the CAPS tip i didint know its offensive in this environment.

thanks
Comments on this post
Dngrsone agrees: Apology accepted. Welcome to the forums!

Reply With Quote
Reply

Viewing: Dev Hardware ForumsSOFTWAREOperating Systems > WinXP - Need help with writing batch files


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump




 Free IT White Papers!
 
Create the Optimal Architecture for your Critical Applications
Warburton's the largest independently owned bakery in the UK faced a number of difficult challenges in providing the most robust yet efficient IT infrastructure for their organization's success. IBM's services combined with their xSeries servers created the perfect platform for their SAP environment with sufficient flexibility, and did so in very time effective fashion.

 
Five Best Practices for Deploying a Successful Service-Oriented Architecture
This white paper describes the benefits you can expect with SOA, and how IBM can help take your business there.

 
Gartner Magic Quadrant for Application Delivery Controllers
Gartner summarizes its view on Application Delivery Controllers, evaluates strengths and weaknesses of solutions, and provides Magic Quadrant reporting for a quick comparison across all vendors. Learn from Gartner how you can benefit from an all-in-one device like Citrix NetScaler that delivers the highest levels of availability, performance and security.

 
Knowledge is Power
What you don't know can hurt you, and is likely costing you money and increasing your security risks during an era of scarce resources. This white paper proposes six key strategies that enterprise security managers can use to improve their network defense posture.

 
Rationalizing the Multi-Tool Environment
The rationalized multi-tool approach is flexible, scalable and cost effective. It provides the necessary input to the IT service management business processes. It preserves prior investments in monitoring tools, empowers technologists to select the best tools with which to do their jobs, and enhances effective response to incidents.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
     
 




© 2003-2010 by Developer Shed. All rights reserved. DS Cluster 5 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek