Solved

client os

Posted on 2002-05-20
4
177 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 Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Apps blocked by Java 9 88
factorial example 4 48
Which non-HTML GUI front end to use with Java? 3 24
jmss example java 2 23
For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

838 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