|
-
May 26th, 1999, 05:16 AM
#1
File Directory
How do I get the directory of a file that is not in the current directory?
-
May 26th, 1999, 09:17 AM
#2
Re: File Directory
Where are you getting the filename from (what function)? This will help us decide how to get the full path.
-
June 1st, 1999, 08:55 AM
#3
Re: File Directory
if you don't know where the file is you will have a problem since a file name on it self isn't unique, only the full path of the file is unique.
if you know where te file stands you can do the following
getcurrentdirectory, to save the current path
setcurrentdirectory to switch to the directory where the file is
add the currentdirectory and the filename together to make the full path
setcurrent directory to the directory you saved
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|