Jump to content
Sign in to follow this  
jarjarbinx1979

String question again!

Recommended Posts

jarjarbinx1979

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
/dev/null

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.