Re: [Flightgear-devel] Patch: Intro music on Windows

2002-01-20 Thread Julian Foad

Blimey!  What a wierd combination of effects.  On Windows ME its nearly the same: just 
"start .\notepad" is different.

C:\>ver

Windows Millennium [Version 4.90.3000]

C:\>start /m notepad
  -- notepad started minimized

C:\>start .\notepad
Cannot find file '.\notepad' (or one of its components). Check
to ensure the path and filename are correct and that all required
libraries are available.

C:\>start c:/Windows/notepad
  -- notepad started successfully

C:\>start ./notepad
Cannot find file './notepad' (or one of its components). Check
to ensure the path and filename are correct and that all required
libraries are available.

C:\>start ./notepad.exe
  -- notepad started successfully

And also:

C:\>start .\notepad.exe
Cannot find file '.\notepad.exe' (or one of its components).
Check to ensure the path and filename are correct and that all
required libraries are available.


- Julian


Norman Vine wrote:
> 
> Julian Foad writes:
> >>
> >The "/m" switch specifies a minimised (iconised) window.
> >Could Windows users check whether this is supported on various
> >versions of Windows.  It is on Windows ME.
> 
> AFAIK 'start /m'  is supported on all Win32 systems
> 
> >The "cygpath -w" command converts the unix-like pathname to a
> >Windows one which the Windows program will recognise.
> >Something like this may be needed in the non-CygWin case.  I'm
> >not sure what the values of get_fg_root() and
> >"/sim/startup/intro-music" will or should be.  Can the SGPath
> >class convert between native and unix-style pathnames?
> 
> AFAIK get_fg_root()  should always return a path that the
> underlying system should understand, and WIN32 almost
> understands .
> 
> Note the following 'quirks' though
> 
> Microsoft(R) Windows 98
>(C)Copyright Microsoft Corp 1981-1998.
> 
> C:\WINDOWS>start /m notepad
>   -- notepad started minimized
> 
> C:\WINDOWS>start .\notepad
>   -- notepad started successfuly
> 
> C:\WINDOWS>start c:/Windows/notepad
>   -- notepad starts successfuly
> 
> C:\WINDOWS>start ./notepad
> Cannot find file './notepad' (or one of its components). Check
> to ensure the path and filename are correct and that all required
> libraries are available.
> 
> C:\WINDOWS>start ./notepad.exe
>   -- notepad started successfuly
> 
> to be sure of success when launching a program with start on WIN32
> use the FULL filename to include the extension !
> 
> Cheers
> 
> Norman
>

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel



RE: [Flightgear-devel] Patch: Intro music on Windows

2002-01-20 Thread Norman Vine

Julian Foad writes:
>>
>The "/m" switch specifies a minimised (iconised) window.  
>Could Windows users check whether this is supported on various 
>versions of Windows.  It is on Windows ME.

AFAIK 'start /m'  is supported on all Win32 systems

>The "cygpath -w" command converts the unix-like pathname to a 
>Windows one which the Windows program will recognise.  
>Something like this may be needed in the non-CygWin case.  I'm 
>not sure what the values of get_fg_root() and 
>"/sim/startup/intro-music" will or should be.  Can the SGPath 
>class convert between native and unix-style pathnames?

AFAIK get_fg_root()  should always return a path that the
underlying system should understand, and WIN32 almost
understands .

Note the following 'quirks' though

Microsoft(R) Windows 98
   (C)Copyright Microsoft Corp 1981-1998.

C:\WINDOWS>start /m notepad
  -- notepad started minimized

C:\WINDOWS>start .\notepad
  -- notepad started successfuly

C:\WINDOWS>start c:/Windows/notepad
  -- notepad starts successfuly

C:\WINDOWS>start ./notepad
Cannot find file './notepad' (or one of its components). Check
to ensure the path and filename are correct and that all required
libraries are available.

C:\WINDOWS>start ./notepad.exe
  -- notepad started successfuly

to be sure of success when launching a program with start on WIN32 
use the FULL filename to include the extension !

Cheers

Norman


___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel