aspose file tools
The moose likes Java in General and the fly likes Grabbing File names only Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "Grabbing File names only" Watch "Grabbing File names only" New topic
Author

Grabbing File names only

Andy Lukavich
Greenhorn

Joined: Nov 23, 2007
Posts: 7
Is it possible to just grab a file name, and turn it into a String to be used in another place in code?

What I am trying to do is allow the user to select the file they want to convert from XML into one of our document formats. Since you have to run the actual conversion command through DOS, i created a batch file that does the conversion.

I want to be able to grab that file name and add it to the batch file, so i can run the convert.

Any help would be appreciated.
Andy Lukavich
Greenhorn

Joined: Nov 23, 2007
Posts: 7
Never mind, it came to me shortly after i posted this!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Grabbing File names only
 
Similar Threads
Run A batch file
run java code through bat file
PDF to Excel conversion using Java
How to Run a batch file???
Reference problem