Solved

client os

Posted on 2002-05-20
4
178 Views
Last Modified: 2010-05-18
Hi
I am runnig an application and wud like to use
cmdline "start thispage.html" or ..

But NT/2000 use cmd.exe

and win95/98/ME uses start  

How can I tell the when to use cmd.exe  or start ???



0
Comment
Question by:TLTEO
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 92

Accepted Solution

by:
objects earned 50 total points
ID: 7020896
Have alook at the property:
System.getProperty("os.name")
And see if it reports a difference.

Personally I use the following command to start the browser up under Windows:

rundll32 url.dll,FileProtocolHandler http://www.xyz.com

I think it should work in all versions.
0
 
LVL 3

Expert Comment

by:shyamkumarreddy
ID: 7023394
TLTEO
1.  Start will work in all windows to my knowledge.
2.  anyway to start browser. this command will work in all WIndows OS.

    "explorer http://msn.com"

Will open the Internet Explorer.

Thanks
Shyam
0
 
LVL 3

Expert Comment

by:shyamkumarreddy
ID: 7023395
TLTEO
1.  Start will work in all windows to my knowledge.
2.  anyway to start browser. this command will work in all WIndows OS.

    "explorer http://msn.com"

Will open the Internet Explorer.

Thanks
Shyam
0
 
LVL 92

Expert Comment

by:objects
ID: 7038631
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

749 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