This "basename.mscr" MortScript is a subroutine script that does the same thing as the UNIX basename command. And that is to strip the parent directory prefix from specified path. You can call this subroutine from your own custom MortScript to extract the file name.
"basename.mscr" requires the free MortScript interpreter to execute. So in order to use this script, you'll have to download and install MortScript on your Windows Mobile device, if you haven't already done so.
"basename.mscr" is distributed as executable source code under the GNU General Public License. Please see the license agreement elsewhere on this site.
CallScriptFunction ("basename.mscr", fileName, path)
Did your message disappear? Read the Forums FAQ.
Spam Control | * indicates required field
TrackBack only accepted from WebSite-X Suite web sites. Do not submit TrackBacks from other sites.
No TrackBacks yet. TrackBack can be used to link this thread to your weblog, or link your weblog to this thread. In addition, TrackBack can be used as a form of remote commenting. Rather than posting the comment directly on this thread, you can posts it on your own weblog. Then have your weblog sends a TrackBack ping to the TrackBack URL, so that your post would show up here.
Messages, files, and images copyright by respective owners.
30 Users Online
Copyright © 1996 - 2021. All Rights Reserved.