You need to sign in to do that
Don't have an account?
arunadeveloper
How to create a text file and save it to local desc like c drive or my documents
Hi there,
I want to create a text file once my batch job is finished and save that file to c drive r any my documents filder.
can any one suggest me how to create text file or word file using apex class .
any idea ? any sample please.
The best you'll be able to do is a create a file and store it in chatter, documents, attachments etc, and then download that to your desktop using a browser. The server can't write to your desktop because it doesn't know anything about you in batch apex.
Good Morning bob