From: Christopher Latif Date: 2006-12-15T02:12:50+09:00 Subject: Re: Swap contents in two files Christopher Latif wrote: > Hemant Kumar wrote: >> On 12/14/06, Christopher Latif wrote: >>> How the code for that program going to look like? >>> >> >> How abt: >> require 'fileutils' >> >> FileUtils.copy_file("a.exe","b.exe") >> FileUtils.mv "a.exe.stackdump","a.exe" >> FileUtils.mv "b.exe","a.exe.stackdump" > what's stackdump? -- Posted via http://www.ruby-forum.com/.