Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Renaming Paths Automatically
Message
From
13/02/2004 08:44:00
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00877047
Message ID:
00877051
Views:
9
Replace all pathfield with chrtran(pathfield,'U:\','U:\QuestPDM\'


>I have a table with 7000 + records in. One of the fields is named path. Stored in this field is a path to where a file is. A typical list of the dir would read:
>
>U:\neil\neil.png
>U:\neil\peter.png
>U:\data\data.png
>U:\reports\report.frx
>
>Whe have added a new parent directory in and moved all the files into this directory. therefore I would like to change the path so the following above would read:
>
>U:\QuestPDM\neil\neil.png
>U:\QuestPDM\neil\peter.png
>U:\QuestPDM\data\data.png
>U:\QuestPDM\reports\data\report.frx
>
>I basically want to precede the beginning of the path with QuestPDM. Can anybody help me in how to do this.
>
>Many Thanks
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform