# Home directory$B$N\<hF@(B

**URL:** <https://www.ruby-forum.com/t/home-directory-b-n-hf-b/116510>\
**Category:** Development\
**Created:** [October 6, 2007, 11:12am UTC](https://www.ruby-forum.com/t/home-directory-b-n-hf-b/116510 "2007-10-06T11:12:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kazuhiro\_NISHIYAMA](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/77aa72/32.png) [@Kazuhiro\_NISHIYAMA](https://www.ruby-forum.com/u/Kazuhiro_NISHIYAMA)\
**Post date:** [October 6, 2007, 11:12am UTC](https://www.ruby-forum.com/t/home-directory-b-n-hf-b/116510/1 "2007-10-06T11:12:37Z")

</div>

e$B@\>;3OB9-$G$9!#e(B

[ruby-core:12347]e$B$r8+$F;W$C$?$N$G$9$,!"e(B  
e$B0z?t$J$7$Ne(BDir.chdire$B$G$N0\F0@h$re(BDir.homee$B$Ge(B  
e$B\<h$l$k$H$&$l$7$$$N$G$O$J$$$+$H;W$C$?$N$G$9$,e(B  
e$B$I$&$G$7$g$&$+e(B?

Dir.chdir { Dir.pwd } e$B$G0l1~\<h$l$^$9$,!"e(B  
e$BL5BL$Ke(Bchdire$B$7$F$7$^$&$N$H%9%l%C%I%;!\<%U$G$Oe(B  
e$B$J$$$N$,5$$K$J$j$^$9!#e(B
