Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
608 B

  1. del \%computername%.txt \jaykrell2.txt
  2. call :F %_ntdrive%%_ntroot% %computername% \%computername%.txt jaykrell525 \jaykrell2.txt
  3. goto :eof
  4. :F
  5. REM
  6. REM %1 enlistment root unc
  7. REM %2 machine 1
  8. REM %3 results 1
  9. REM %4 machine 2
  10. REM %5 results 2
  11. REM
  12. setlocal
  13. set nt=%1
  14. shift
  15. del %2
  16. for /f %%i in ('dir /s/b %nt%\base\win32\fusion\tests\sxstest\sxstest.exe') do (echo %%i >> %2 & psexec -f -c \\%1 %%i -tQueryActCtx >> %2)
  17. shift
  18. shift
  19. del %2
  20. for /f %%i in ('dir /s/b %nt%\base\win32\fusion\tests\sxstest\sxstest.exe') do (echo %%i >> %2 & psexec -f -c \\%1 %%i -tQueryActCtx >> %2)
  21. endlocal