Re: Host Command On Windows NT
Date: Mon, 20 Jul 1998 16:17:02 GMT
Message-ID: <6ovqhu$u31$1_at_nnrp1.dejanews.com>
Sometime NT and 95 are the same and sometimes they are not. Here is one of those cases. You can change the command to:
lv_command := 'cmd /c del '|| 'C:\tmp\a.tif'; or
lv_command := 'cmd /c start del ' || 'c:\tmp\a.tif'; Host( lv_command, NO_SCREEN );
NT does not always understand DOS commands without the 'cmd' invocation.
Steven J. Quigley
SCT
Principal Technical Specialist
> Terry Engelstad wrote:
>
> > Does the account name which is executing this command have the authority to
> > delete files from this directory?
> >
> > Vinay Bhatia wrote in message <35903010.4D1A_at_supersolution.com>...
> > >Hi,
> > > Is there any special way to run a HOST command on windows NT.
> > >Following code Works fine on Windows 95 and deletes a file, But on
> > >windows NT it doesnot work.
> > >
> > > lv_command := 'del '|| 'C:\tmp\a.tif';
> > > Host( lv_command, NO_SCREEN );
> > >
> > >Any help will be greatful
> > >
> > >Vinay.
>
>
-----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum Received on Mon Jul 20 1998 - 18:17:02 CEST