How to create file in a specified directory and if it exist overwrite that file

how to create a file in a specified directory and msg must be displayed to user either error msg or anymessage

withhope

Subject: how to create file in a specified directory and if it exist overwrite that file

I suppose you mean how to create a file on the file system. In that case use the Open command for that. The Designer’s help will give you the details for this command.

The Dir$ function will show if the file already exists. You might want to use the kill-command to remove a file.

Subject: RE: how to create file in a specified directory and if it exist overwrite that file

thank youcan you please give an example code

thanks

Subject: RE: how to create file in a specified directory and if it exist overwrite that file

The Designer’s help will give you the details for this command.

JYR

For faster answers, be C R I S P Y