Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Highlighted
rustyfishbones
Honored Contributor II

EXECUTE a Batch File in the Script, commands?

Hi All,

I have the following statement that executes a Batch file from the script editor

EXECUTE cmd.exe /C "C:\Users\Alan\QlikviewExtreme\TEST.bat"

The question I have is in regard to the /C, I am assuming this means RUN, as it does what I need it to do?

Also, is there a list of such commands to be found anywhere?

just trying to learn more, thanks

Regards

Alan

5 Replies

Re: EXECUTE a Batch File in the Script, commands?

Hi,

/C means it tells cmd.exe to execute the specified command and then terminate and then next line executed.

You have to view dos commands it is dos key word.

Thanks & Regards

VishalWaghole
Valued Contributor II

Re: EXECUTE a Batch File in the Script, commands?

Hello Alan,

Open Edit Script, go to setting tab and enable option as

Can Execute External Programs.

Hope this will work.

- Regards,

Vishal Waghole

rustyfishbones
Honored Contributor II

Re: EXECUTE a Batch File in the Script, commands?

Hi Anand,

I have been told that /C is specific to Qlikview?

regards

Alan

VishalWaghole
Valued Contributor II

Re: EXECUTE a Batch File in the Script, commands?

Hello Alan,

Try this your command without double inverted comma.

and please find attached image file.

- Regards,

Vishal Waghole

Not applicable

Re: EXECUTE a Batch File in the Script, commands?

this could be a kind of list of command (in spanish):

Qlikview en Español: EXECUTE para copiar archivos y otras funciones