From: Arihan Sinha Date: 2010-10-28T20:10:07+09:00 Subject: Re: Delete the files from mac system connected by windows. Jeremy Bopp wrote in post #957531: > On 10/27/2010 6:22 AM, Arihan Sinha wrote: >> Errno::ENOENT: No such file or directory - >> from (irb):4 >> irb(main):005:0> Dir.pwd >> => "C:/Documents and Settings/TeamCity" >> irb(main):006:0> > > Remember that you're using Windows to access a remote share using > Windows file sharing. That means you need to use a UNC path to access > the share, and a UNC path begins with either \\ or //. What you > attempted above wouldn't even work if the system at 172.20.10.65 was a > Windows system instead of a Mac. ;-) > > -Jeremy ######################### For windows system I am using this which is working ok .. System1( windows) to system2 ( windows) where ruby is running in system1 only..( ruby need not to be installed in system2 because i am only accssing the files from system2) irb(main):004:0* Dir.pwd => "C:/Documents and Settings/TeamCity" # system1 path 0 irb(main):006:0> Dir.pwd => "//squish-vista-x86/C$/Users/TeamCity/AppData" #system2 path irb(main):007:0> Now the similar way I am looking for Mac where the system2 is Mac ( 172.20.10.65) so how would i change the dir from system1 to Mac system. I want to go to the 172.20.10.65(this is mac system IP)/Users/teamcity/Library If you find the exact solution then pls let me know. Cheers A -- Posted via http://www.ruby-forum.com/.