[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: [sqr-users] Call System using WAIT
There's a lot of info on this in the archives.
I haven't used "call system using" on windows in a long while (usually
unix/linux anymore), but based on a quick scan of the archives, I'd suggest
trying something like....
let $Script = 'D:\psoft\uhhr89t\uh_scripts\Active_dir_output.cmd'
let $cmdproc = getenv('ComSpec')
let $command = $cmdproc || ' /k "' || $Script || '"'
call system using $command #Status WAIT
HTH,
Don
On Fri, Mar 7, 2008 at 9:58 AM, Suchanek Jill M. <JSuchanek@uwhealth.org>
wrote:
> Hi,
>
> I have the following code running on Windows NT:
>
> $Script = D:\psoft\uhhr89t\uh_scripts\Active_dir_output.cmd
>
> When using this:
> call system using $Script_Dir #Status
>
> The command is run successfully, but when I use this:
> call system using $Script_Dir #Status WAIT
>
> The command fails. Can anyone tell me what I am doing wrong? By
> reading PeopleBooks it looks like this should work.
>
> Thank you,
> Jill
>
> _______________________________________________
> sqr-users mailing list
> sqr-users@sqrug.org
> http://www.sqrug.org/mailman/listinfo/sqr-users
>
--
-----------------------------------------------------------------------
Donald Mellen | Ray Ontko & Co. - Richmond, IN - http://www.ontko.com/
donm@ontko.com | "In the beginning, there was nothing, which exploded"
(Terry Pratchett)
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users