On 27 November 2015 at 09:57, VIDYA SAGAR POGIRI <[email protected]
> wrote:

>
>
>
>
> Hi,
> I want to access the files in folder 2 from the folder 4, I mean my Present 
> Working Directory is 4
>
> As so often is the case with questions here you have not provided nearly
enough information to answer the question.

The simple answer is ../../ but that is probably not what you are after, so:

Is this a Ruby application running on a PC or a rails app?
If a rails app are you trying to access files on the client machine or on
the server?
If a rails app and you are trying to access files on the server do these
folders relate to the location of the rails app and what sort of 'access'
are you trying to achieve (find source files, save uploaded files or what)?
What operating system are you running under?


Colin

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLuV%3DUFEurnJb4wk8_txyjHHyFZ_Kb9zDRDcjNbWR_pJ8A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to