We help IT Professionals succeed at work.

escape charector in file path sroed in variable c#

dgdfgssfdgs
dgdfgssfdgs asked
on
989 Views
Last Modified: 2009-12-16
When a store a file path in a variable, like "c:\pic\"
the variable stores "c:\\pic\\.

ok. seems like a poor choice of escape charector to me.

how do i get rid of the extra backslash when i go to use the variable?
Comment
Watch Question

Billing Engineer
CERTIFIED EXPERT
Most Valuable Expert 2014
Top Expert 2009
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
duh. thanks.
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.