Skip to content
Prev 6987 / 15075 Next

shell.exe() equivalent?

On Mar 24, 2010, at 8:57 PM, Gi-Mick Wu wrote:

            
Now _that_ is amusing. Windows is a (kludgy) imitation of the Mac GUI,  
which in turn is a copy of the Xerox PARC Alto and Star systems, all  
of which feature the mouse for user input.
That is what Rolf implied. Agreed, it sounded a bit like arcanity or  
perhaps nonsense. Using "source" on a pdf file?  In any case, this is  
another example of using system() to open a pdf file.

  system("open /Users/davidwinsemius/Downloads/research-2004-05-ind- 
life-rpt.pdf")

Kasper's solution also works _iff_ the filename object has been  
previously defined.