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
- To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.