I want to create a file by entering its name at runtime through command line argument..But i am not getting any idea about how to do that?? Please provide some help.. THANKS

The file name that you type in the command line argument is available to you as a parameter in your main(....) method. Now you have the file name in a String, so you can use what you learned from mKorbel's links to create the file.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.