Re: Host Command On Windows NT

From: Maoz Mussel <mmussel_at_iil.intel.com>
Date: Mon, 20 Jul 1998 13:02:12 +0300
Message-ID: <35B315A4.9F13F756_at_iil.intel.com>


Though your code should work the same both on NT and Win95, you can also try the Delete_File procedure on Win_Api_Utility (located in d2kwutil.pll library), which is the 'right' way to do it.

Maoz

Maoz

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.
Received on Mon Jul 20 1998 - 12:02:12 CEST

Original text of this message