Just do like this:

CommaIo myfile = new CommaIo("C:\\MSB\\Itemdefinitions.txt","W");
 
  if(myfile)
  {
       myfile.write("hello world");
  }
     
Don't forget to put 2 "\".

Vince

--- In development-axapta@yahoogroups.com, "Huseyin Akdag"
<[EMAIL PROTECTED]> wrote:
>
> Hello,
>

>
> How Can I create a text file  into a specified Folder  (for example
> C:\MSB\Itemdefinitions.txt)  in  Axapta with a simple Context? I
took a look
> to  Winapi class. But I couldn't find how to set  a path  for the
file..
>
> Does anyone have an Example?
>

>
> Thanks & Regards
>
> Huseyin
>

>
>
>
> [Non-text portions of this message have been removed]








Yahoo! Groups Links

Reply via email to