[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.2

GOTO was unexpected at this time.

Asked by keerwen in Windows Batch Scripting

I am working on a batch file to run a program from the local servers on each subnet.  The base of the code was copied directly from another question  here on Experts.  The code itself does not want to run one it gets to the goto command.  Heres a copy of my code  If REM the first two lines and un REM the next two i will get errors  on those either a syntax error or unexpected | error.  Any help would be great.

IPCONFIG |FIND "IP" >TEMPIP.tmp

set IP=%% iecho %IP% >> c:tempip.tmp

REM for /f "tokens=2 delims=:" %%i in ('ipconfig /all ^| find "IP Address"') do set GetIP=%%d
 
REM do set IP=%% iecho %IP% >> c:tempip.tmp
for /f "tokens=3 delims=." %%j in (c:\tempip.tmp) do set SUBNET=%%j



if %SUBNEt%==10 goto 10subnet
if %SUBNET%==12 goto 12subnet
if %SUBNET%==14 goto 14subnet
if %SUBNET%==16 goto 16SUBNET
if %SUBNET%==11 goto 11subnet
if %SUBNET%==15 goto 15subnet
goto ALL_USERS

:16SUBNET
"\\sn1-100835\Apps Installs\Engineering\AutoCAD\Patches\AutoDesk Land Desktop 2008\ldc2008_sp2.exe"
echo Welcome to the 16 subnet!
goto ALL_USERS

:12SUBNET
"\\sy1-100998\apps installs\Engineering\AutoCAD\Patches\AutoDesk Land Desktop 2008\ldc2008_sp2.exe"
echo Welcome to the 100 subnet!
goto ALL_USERS

:10SUBNET
"\\sm1-100997\apps installs\Engineering\AutoCAD\Patches\AutoDesk Land Desktop 2008\ldc2008_sp2.exe"
echo Welcome to the 250 subnet!
goto ALL_USERS

:14SUBNET
"\\sa1-100977\apps installs\Engineering\AutoCAD\Patches\AutoDesk Land Desktop 2008\ldc2008_sp2.msp"
echo Welcome to the 250 subnet!
goto ALL_USERS


:15SUBNET
"\\sl1-100239\apps installs\Engineering\AutoCAD\Patches\AutoDesk Land Desktop 2008\ldc2008_sp2.exe"
echo Welcome to the 250 subnet!
goto ALL_USERS

:ALL_USERS
REM Use this section to perform functions that pertain to all users
goto END

:END


Thanks!
[+][-]06/05/08 08:43 PM, ID: 21726056Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zone: Windows Batch Scripting
Sign Up Now!
Solution Provided By: sirbounty
Participating Experts: 4
Solution Grade: A
 
[+][-]06/04/08 10:42 AM, ID: 21712282Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/04/08 11:27 AM, ID: 21712654Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/04/08 11:29 AM, ID: 21712675Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/04/08 11:29 AM, ID: 21712680Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/04/08 11:30 AM, ID: 21712686Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/04/08 11:33 AM, ID: 21712715Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/04/08 11:50 AM, ID: 21712874Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/04/08 11:51 AM, ID: 21712884Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/04/08 02:07 PM, ID: 21714156Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/04/08 02:43 PM, ID: 21714405Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/05/08 08:07 AM, ID: 21720384Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/05/08 08:32 PM, ID: 21726012Administrative Comment

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]06/05/08 10:55 PM, ID: 21726527Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/06/08 01:17 PM, ID: 21732348Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/09/08 06:14 AM, ID: 21742869Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-92 / EE_QW_2_20070628