@ECHO OFF\r
\r
-if not exist "D:\AHK-Tests" (\r
+set DRIVE=\r
+for %%X in (A B C D E F G H I J K L M N O P Q R S T U V W X Y Z) do (if exist %%X:\AHK-Tests set DRIVE=%%X)\r
+\r
+if not defined DRIVE (\r
dbgprint "AHK Application testing suite not present, skipping."\r
exit /b 0\r
)\r
\r
-xcopy /Y /H /E D:\AHK-Tests\*.* C:\ReactOS\bin\r
-dbgprint "....AHK Application testing suite added."
\ No newline at end of file
+xcopy /Y /H /E %DRIVE%:\AHK-Tests\*.* %SystemRoot%\bin\r
+REM Download Amine's rosautotest from svn\r
+dwnl http://svn.reactos.org/amine/rosautotest.exe %SystemRoot%\system32\rosautotest.exe\r
+dbgprint "....AHK Application testing suite added."\r