|
Hi, File ifsFile = new File("yourpathandfilename"); if ( ifsFile.exists ) { ... Ciao. On Thu, 18 Sep 2003 12:54:04 -0500, JustD@xxxxxxxxxxxxxxxx wrote: >I am trying to determine if a path and file name entered in a text box by a >user is valid in the IFS Root file system. ToolBox can be used if you are >checking the validity of a library or object name, but I have not found >anything that checks if an IFS path is valid. What I'm looking for is >something that will tell me if there are invalid characters or if the path >is to long. Does anybody have a suggestions? >David Just >Lakeview Technology >justd@xxxxxxxxxxxxxxxx >(507) 529-5939 >* LAKEVIEW TECHNOLOGY CONFIDENTIAL * >This e-mail may contain SECRET, PRIVILEGED AND/OR CONFIDENTIAL INFORMATION >intended only for the use of the addressee. If you are not the addressee, >or the person responsible for delivering it to the person addressed, you >may not copy or deliver this to anyone else. If you received this e-mail >in error, please immediately notify Lakeview by returning the original >message to the sender via e-mail. >_______________________________________________ >This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) >mailing list >To post a message email: JAVA400-L@xxxxxxxxxxxx >To subscribe, unsubscribe, or change list options, >visit: http://lists.midrange.com/mailman/listinfo/java400-l >or email: JAVA400-L-request@xxxxxxxxxxxx >Before posting, please take a moment to review the archives >at http://archive.midrange.com/java400-l. ----------------------------------------------------------------------------- *** This messages was scanned for malicious contents *** ----------------------------------------------------------------------------- Franco Biaggi CH-6807 Taverne
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.