in reply to Re: Output redirection
in thread Output redirection

Maybe possible with chdir or chroot

Replies are listed 'Best First'.
Re^3: Output redirection
by ikegami (Patriarch) on Jun 12, 2009 at 21:34 UTC
    Or making scriptA and scriptB links to the desired output dir.

      Hard- and softlinks are available on NT-based Windows, at least on NTFS, but they are rather surprising for the average Windows user, and they don't behave like hardlinks / softlinks on Unix-like systems.

      Alexander

      --
      Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

        Oops, I missed the hint that it was on Windows, and so did the person to whom I replied.

        they don't behave like hardlinks / softlinks on Unix-like systems.

        Does that mean they can't be used to address the OP's problem?

Re^3: Output redirection
by afoken (Chancellor) on Jun 13, 2009 at 17:16 UTC

    chdir may work, but I've never heard of a chroot implementation on WinXP or similar.

    Alexander

    --
    Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)