I'm confused.... 
I have one batch file running, the other gave me a parameter error so I just wanted to touch base here and make sure this was OK:
InstallDir = "D:\TNGMP3" 'Or whatever
------------------
Scott

I have one batch file running, the other gave me a parameter error so I just wanted to touch base here and make sure this was OK:
InstallDir = "D:\TNGMP3" 'Or whatever
Code:
cmd = "cmd.exe" cmdParam = "/C " & InstallDir & "\STOPIIS.BAT" ShellExecute ByVal %NULL, "open", ByVal StrPtr(cmd), ByVal StrPtr(cmdParam), ByVal StrPtr(InstallDir), %SW_SHOWNORMAL This worked... But the StartIIS bat did not, and it is probably because it was run asychronously... can I run this batch file Synchronously? I have the code to do this, any comments? Frustrating.....and I'm not 100% sure it's my solution either to stopping the IIS Admin service and restarting it.... Scott
Scott
Comment