Executing one Winbatch program with another using RunWait
Posted on 2006-05-22
I am using a Winbatch script to execute another Winbatch script using the RunWait() statement. When I pass the other Winbatch program a parameter with an embedded blank it doesn't work. The parameter is a path which allows embedded blanks in the level of Windows I am using, but not I guess in the parameter variable. RunWait takes its parameters in the form %LogPath% where LogPath is assigned a string value of the path. How do I get RunWait to take the path as a single unit instead of multiple parameters when there are embedded blanks in the path contained in the variable LogPath?