I am trying to call a .bat file in my wise script.

I copy installation files from the network install location to a local test dir called C:\TestDir
%MYDIR% = TestDir
I then want to run the install file called install.bat.

In my script currently:
I have tried this command (Execute Program) in the Wise Script:

.EXE Path: C:\WINDOWS\System32\cmd.exe
Command Line: "%MYDIR%\Install.bat" -silent
Default Directory: %MYDIR%
Window Size: Normal
Checked the box - Wait for program to Exit

When I compile and execute this script:
I only see a command window on the screen with the cursor blinking on C:\TestDir>

The install.bat does not execute.


If I go to the command prompt on the same machine and open a command prompt.
Go to the TestDir and type install.bat - silent (it executes).

I am a little baffled as to why would install.bat not run via my wise script??

0 Comments   [ + ] Show Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.



I have used a custom action to call a batch file using wise 6.0

Answered 12/08/2006 by: cygan
Fifth Degree Brown Belt

Please log in to comment
Answer this question or Comment on this question for clarity