Solved

client os

Posted on 2002-05-20
4
174 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
  • 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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

706 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now