Tags:
view all tags
---+ .FILE SPLIT PATHNAME _This subroutine is called to separate a full pathname into it's path and name parts._ <br />%TOC% ---++ Usage: <pre> PASS <path_part> FIELD SHARE? Y PASS <file_part> FIELD SHARE? Y PASS <full_pathname> FIELD SHARE? N GOSUB --- .FILE SPLIT PATHNAME * check for errors IF --- .FILE SPLIT PATHNAME NE </pre> ---++ Description: This subroutine is called to separate a full pathname into it's path and file name parts. All parameters are required, if any are missing the subroutine will CANCEL. <path_part> will contain the path portion of the full file and path name. (Required). This must be PASSed with Share "Y". <file_part> will contain the file name portion of the full file and path name (Required). This must be PASSed with Share "Y". <full_pathname> is the full path and file name to separate (Required). The subroutine identifies the <file_part> by locating all the characters after the last / or \ in <full_filename>. If there aren't any in <full_pathname>, then <full_pathname> will be returned in <file_part> and <path_part> will be empty. See [[0LASubrFileSplitFileName][.FILE SPLIT FILENAME]] to split a file name and extension. A 'Data was truncated' error will be returned in .FILE SPLIT PATHNAME if the fields you pass are too short to contain either the file name or path. ---++ Comments: _Read what other users have said about this page or add your own comments._ <br />%COMMENT% -- Main.PeteBrower - 2011-08-12
Edit
|
Attach
|
Watch
|
P
rint version
|
H
istory
:
r7
|
r5
<
r4
<
r3
<
r2
|
B
acklinks
|
V
iew topic
|
Raw edit
|
More topic actions...
Topic revision: r3 - 2012-03-09
-
KorryD
Home
Site map
Main web
MedicaidBilling web
Sandbox web
TWiki web
Main Web
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Edit
Attach
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback