Solved

client os

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Unable to open debugger port in Intellij idea 6 139
Java asynchronous logging 4 50
Java Message handling in Service Layer 3 55
Error trying to install RTMT Win7 5 38
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…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

929 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

9 Experts available now in Live!

Get 1:1 Help Now