Im haveing problems with the runwait command.. I'm trying to get a DOS program to work.. I works fine when I open cmd.exe in start menu then type in command for it to run in command prompt. But when I try to open it in RunWait("C:\Games\game.exe /vga") it doesnt show up. I see it in task manger but no windows for it. I even tryed @SW_MAXIMIZE to see if that helps. still no change.. I still see it loaded up in task manger and its running with 20% cpu.. and I hear the music but no window..
I noteced that when I open it up from command prompt, I saw it like close the window and reopen another window or like it resized the window.. I can get it to work from a batch file but not from autoIT..
anyone with any Ideas??? I spent like 3 hours on it and came up with nothing.. all I can think of is a thing that will open cmd.exe and write "C:\Games\game.exe /vga" directly to it.. but I can find out how to do that
I even tryed ShellExecuteWait("C:\Games\game.exe /vga") an it just errored and didn't like the spacing in some of the switches in side of the "" for the command
I noteced that when I open it up from command prompt, I saw it like close the window and reopen another window or like it resized the window.. I can get it to work from a batch file but not from autoIT..
anyone with any Ideas??? I spent like 3 hours on it and came up with nothing.. all I can think of is a thing that will open cmd.exe and write "C:\Games\game.exe /vga" directly to it.. but I can find out how to do that
I even tryed ShellExecuteWait("C:\Games\game.exe /vga") an it just errored and didn't like the spacing in some of the switches in side of the "" for the command