Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

how can i resolve this error "'jview' is not recognized as an internal or external command, operable program or batch file."?

Posted on 2010-11-10
3
Medium Priority
?
1,097 Views
Last Modified: 2012-05-10
sir,
      while i try to run "run.bat" file in a java project using command prompt in windows xp, there is an error message is displayed

 "'jview' is not recognized as an internal or external command, operable program or batch file."

please kindly help me to solve this error.
0
Comment
Question by:sunda2010
3 Comments
 
LVL 23

Accepted Solution

by:
jakethecatuk earned 168 total points
ID: 34099873
you need to make sure that the folder for jview is included in your batch file.

for example: -

c:\program files\program1\jview.exe
0
 
LVL 50

Assisted Solution

by:Ingeborg Hawighorst (Microsoft MVP / EE MVE)
Ingeborg Hawighorst (Microsoft MVP / EE MVE) earned 168 total points
ID: 34099949
Or set the DOS path variable to include the folder where the exe file lives.path=C:\;c:\windows;c:\program files\jviewFoldercheers, teylyn
0
 
LVL 7

Assisted Solution

by:mkobrin
mkobrin earned 164 total points
ID: 34099972
Remember that when you add the full path in the batch file, you must put it inside inverted commas:
"c:\program files\program1\jview.exe"
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The following is a collection of cases for strange behaviour when using advanced techniques in DOS batch files. You should have some basic experience in batch "programming", as I'm assuming some knowledge and not further explain the basics. For some…
Using dates in 'DOS' batch files has always been tricky as it has no built in ways of extracting date information.  There are many tricks using string manipulation to pull out parts of the %date% variable or output of the date /t command but these r…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses
Course of the Month8 days, 4 hours left to enroll

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question