I have a directory path stored in a text file, and I need to CD to that directory in a script but don't know how. I was hoping it would be something like
cat FILE | cd
but its not that easy.
This is a windows environment btw, in unix/linux it is easy:
cd `cat FILE`
Can anyone give me a hand?