Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. sponsors. rss.
 From: Cetin Basoz
  Where is Cetin Basoz?
 Izmir
 Turkey
 Cetin Basoz
 To: bryan wetton
  Where is bryan wetton?
 Morphett Vale
 Australia
 bryan wetton
 Tags
Subject: RE: folder one above this
Thread ID: 205431 Message ID: 205450 # Views: 33 # Ratings: 0
Version: Visual FoxPro 9 Category: General VFP Topics
Date: Friday, November 28, 2008 8:23:05 AM         
   


> I have a path stored in an ini file with an ending backslash.
>
> eg C:\Documents and Settings\Administrator\Local Settings\<br />>
> I can't figure out how to get the folder above that one with a backslash
>
> C:\Documents and Settings\Administrator\<br />>
> Can someone help with a small line of code please.
>
>
> -Bryan

lcPath = 'C:\Documents and Settings\Administrator\Local Settings' && with or without BS
? AddBS(FullPath(AddBS(m.lcPath)+'..'))


Cetin Basoz



COMPLETE THREAD
folder one above this Posted by bryan wetton @ 11/28/2008 5:39:46 AM
RE: folder one above this Posted by Kishore Kumar @ 11/28/2008 5:56:39 AM
RE: folder one above this Posted by Cetin Basoz @ 11/28/2008 8:23:05 AM
RE: folder one above this Posted by Bhushan Sahni @ 11/28/2008 8:55:30 AM
RE: folder one above this Posted by bryan wetton @ 11/28/2008 11:17:20 AM