View Full Version : IIS virtual IIS directory with Exec Wizard Action

04-11-2003, 10:07 AM
I'm trying to create an Exec Wizard Action that calls cmd.exe to run the windows specific mkwebdir.vbs without success.

I've tried putting the full path to cmd.exe in the Command properties as well as just cmd.exe.

I've tried passing all the arguments in 1 line, I've also tried passing the arguments separately.

I've tried using wscript.exe and cscript.exe without success.

Has anyone-else traveled this road yet?

04-23-2003, 07:32 PM
We had some problem with the execution bean. It occasionally worked, depending on the command line. It was better if you parse the command lines yourself, and put 1 argument per line. For example:

"C:\program files\myapp.bat"

Put a return after each line. Redirect the output to some file so you can figure out what is going on. Most of the time, it's just not parsing the arguments correctly. Or something can be easily figured out if you read the redirected output... Good luck.