Project

General

Profile

Backport #5629 » test.rb

hannibal (Masafumi Kiribayashi), 11/14/2011 01:27 PM

 
#!ruby -Ks
# coding: cp932
path1 = "H:/TEMP/?????/file"
path2 = File.expand_path(path1)
puts "(path1 == path2) => #{path1 == path2}"
puts "File.exist?(path1) => #{File.exist?(path1)}"
puts "File.exist?(path2) => #{File.exist?(path2)}"
    (1-1/1)