Just can't stay away 
Joined: 2006/12/1 18:01 Last Login
: Yesterday 23:33
From Copenhagen, Denmark
Group:
Registered Users
|
I'm not sure if this is the solution you want, but in S:Shell there is a small script called PCD which makes a CD, but remembers the dir you leave so you can get back to it afterwards.
So you could PCD to the dir where you want to be temporarily, and do what you want there, and then be back where you came from - if that makes sense?
BTW, the PCD script works by making temporary Assigns (which are global) and removing them again, quite clumsy I think. Maybe a nicer solution could be to set up the paths in local Shell variables and use them in your various CD commands or to prepend to the paths of the stuff you want to get or where you want to execute or whatever. But that's another story.
Best regards,
Niels
|