Sign in to follow this  
Followers 0
jarjarbinx1979

String question again!

2 posts in this topic

OK last question I promise (well for at least a couple of weeks)

I have the following string

\\folder1\folder2$

What I need is to duplicte folder1 so it looks like below

\\folder1\folder1$\folder2

Is there an easy way of doing this, I have checked the help files and can't see anything, simple, to help me complete this task

Thanks

Share this post


Link to post
Share on other sites



Is there an easy way of doing this, I have checked the help files and can't see anything, simple, to help me complete this task

use _PathSplit(), extract the values you need, duplicate the required strings and build the path again.

Cheers

Kurt


__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0