From: Charles Churchill Date: 2010-05-18T04:19:12+09:00 Subject: Re: opening my files with a ruby program --0016e6d99b782c99660486cf1906 Content-Type: text/plain; charset=ISO-8859-1 Besides the ones Marvin mentioned, you also have a couple of other options. the example below will open the JPG image using the default program used to handle JPG files system('cmd /c start "" C:\DOCUME~1\churchil\MYDOCU~1\MYDROP~1\images\SABBAT~1.JPG') while this example will open it explicitly with mspaint system('cmd /c start "" C:\WINDOWS\system32\mspaint.exe C:\DOCUME~1\churchil\MYDOCU~1\MYDROP~1\images\SABBAT~1.JPG') On Mon, May 17, 2010 at 1:38 PM, Mark Kirby wrote: > i was just wondering if i wanted my program to open a file on my pc what > would i put for example if i wanted to use ruby irb to open media player > thanks > -- > Posted via http://www.ruby-forum.com/. > > --0016e6d99b782c99660486cf1906--