Revert "Fix flaky tests env variable length on Windows (#83426)"
This reverts commit beb83d7419bc21f9ca8881de81c8421409dd8f3a.
Reverted https://github.com/pytorch/pytorch/pull/83426 on behalf of https://github.com/huydhn due to This has a bug which breaks internal builds D38714900 and other OSS test. The bug has been fixed by https://github.com/pytorch/pytorch/pull/83436. But we decide that it is safer to revert both, merge them into one PR, then reland the fix