ShellExecute("explorer.exe", "D:\", "", "", @SW_MAXIMIZE) ShellExecute("D:\A_README.PDF") WinWaitActive("A_README.PDF") WinSetState("A_README.PDF", "", @SW_MAXIMIZE)