View Single Post
Old 08-29-2007   #7 (permalink)
Marco Shaw


 
 

Re: get-child item question from a newbie

Quote:

> First of all, I want to thank everyone that has offered suggestions.
> I'm still a bit stumped on this.
> as far as I can tell the solutions don't address the fact that I just
> want to step one level deep from the current dir and run a specific
> command (in this case it's actually a script that must be run from
> current dir, I can't just run it from a different dir with the correct
> path.) and then I need to go back up one dir and then back down into
> the next dir and run the same command.
> I don't think I need -recurse because I don't want to go deeper than
> the one level.
> I know this is probably really easy, I just don't see it. I'm spinning
> my wheels here on something I know shouldn't take more than a minute
> or two.
You *specifically* need to 'cd ..', and 'cd new_dir'? May we ask why?
The solutions put you *in* the dir, but might not cd in and out.

You don't need -recurse like you mentioned.

This is the learning curve... Enjoy the ride!

Marco

--
----------------
PowerGadgets MVP
http://www.powergadgets.com/mvp

Blog:
http://marcoshaw.blogspot.com
My System SpecsSystem Spec