Advertisement

06.04.2008 at 09:19AM PDT, ID: 23457323
[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!Start Free Trial
[+][-]06.04.2008 at 10:42AM PDT, ID: 21712282

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 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.04.2008 at 11:27AM PDT, ID: 21712654

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 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.04.2008 at 11:29AM PDT, ID: 21712675

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 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.04.2008 at 11:29AM PDT, ID: 21712680

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 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.04.2008 at 11:30AM PDT, ID: 21712686

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 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.04.2008 at 11:33AM PDT, ID: 21712715

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 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.04.2008 at 11:50AM PDT, ID: 21712874

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 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.04.2008 at 11:51AM PDT, ID: 21712884

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 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.04.2008 at 02:07PM PDT, ID: 21714156

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 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.04.2008 at 02:43PM PDT, ID: 21714405

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 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.05.2008 at 08:07AM PDT, ID: 21720384

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 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.05.2008 at 08:32PM PDT, ID: 21726012

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 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]06.05.2008 at 08:43PM PDT, ID: 21726056

View this solution now by starting your 7-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.05.2008 at 10:55PM PDT, ID: 21726527

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 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.06.2008 at 01:17PM PDT, ID: 21732348

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 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.09.2008 at 06:14AM PDT, ID: 21742869

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 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628