|
-
Dec 11th, 2006, 08:19 AM
#1
Thread Starter
Fanatic Member
[RESOLVED] path.getdirectoryname question???
Hi guys,
if i have the following filepath:
C:\My Documents\My Pictures\Image1.jpg
when i use path.getDirectoryName(C:\My Documents\My Pictures\Image1.jpg)
what will be returned?
I know this might be a bit of an easy question but i don't currently have time to search for the answer.
Thanks in advance for any help
If your problem has been solved then please mark the thread [RESOLVED].
If i have helped then please Rate my post 
-
Dec 11th, 2006, 08:23 AM
#2
Re: path.getdirectoryname question???
Couldnt you try it yourself and see what it returns? 
It would return the directory of the file, in this case 'C:\My Documents\My Pictures'
-
Dec 11th, 2006, 08:32 AM
#3
Hyperactive Member
Re: path.getdirectoryname question???
However, It won't check for the path.
guess the result : D:\Documents and Settings\\\Ami\Desktp\\\\111..doc
reult is : D:\Documents and Settings\Ami\Desktp
I m sure u can understand
I am using .NET 2010 with Windows 7
-
Dec 11th, 2006, 08:32 AM
#4
Thread Starter
Fanatic Member
Re: path.getdirectoryname question???
I really dont have time to....i have til the end of today to finish this project so i asked the question and carried on with other things i needed to code.
Thanks for the reply tho..i appreciate it.
If your problem has been solved then please mark the thread [RESOLVED].
If i have helped then please Rate my post 
-
Dec 11th, 2006, 08:34 AM
#5
Re: path.getdirectoryname question???
 Originally Posted by Kimmy4
I really dont have time to....i have til the end of today to finish this project so i asked the question and carried on with other things i needed to code.
Thanks for the reply tho..i appreciate it. 
haha aah good thinkin
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
|