[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 968
  • Last Modified:

escape charector in file path sroed in variable c#

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?
1 Solution
Guy Hengel [angelIII / a3]Billing EngineerCommented:
>the variable stores "c:\\pic\\.
no, it's only "display" like that. the real value is "c:\pic\"

>seems like a poor choice of escape charector to me.
 has been done some years ago...
dgdfgssfdgsAuthor Commented:
duh. thanks.

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now