Michael Curtis
(Lurker)
2002-07-10 07:01 PM
Hiding a shell commands output when it runs

Hi,

I have a lovely looking kix script, but it has a shell command copying a folder with 3 other folders in it. Between then the 3 folders have 45 files.

I would like to hide or neaten up the shell command when it runs.

Does anyone know how to do this?

Best wishes

Michael


LonkeroAdministrator
(KiX Master Guru)
2002-07-10 07:09 PM
Re: Hiding a shell commands output when it runs

if you have something like this:
shell "command compypasf"
pass at the end >nul
like this
shell "command compypasf >nul"

cheers,


Howard Bullock
(KiX Supporter)
2002-07-10 07:12 PM
Re: Hiding a shell commands output when it runs

See: (almost) everything you wanted to know about RUN and SHELL

2nd paragraph from the bottom.


Chris S.
(MM club member)
2002-07-10 07:37 PM
Re: Hiding a shell commands output when it runs

If your client PC's have WSH 5.6 installed (included with IE6) then you can use WSHPipe() to hide the ouput of your shelled command.