From: Heesob Park Date: 2010-10-28T23:23:04+09:00 Subject: Re: Delete the files from mac system connected by windows. Hi, 2010/10/28 Arihan Sinha : > 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. > You need to setup SMB File Sharing on Mac. Refer to http://macs.about.com/od/filesharing/ss/file-sharing-with-snow-leopard-win7.htm Regards, Park Heesob