Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8841705
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T10:47:14+00:00 2026-06-14T10:47:14+00:00

I think i need to escape the special chars here: Process.Start(userSelectedFilePath, \u0007 & ThisDir.Path

  • 0

I think i need to escape the special chars here:

Process.Start(userSelectedFilePath, "\u0007" & ThisDir.Path & "\u000B" & checkedpath1 & "\u0007")

The result need to be like: userselecfilepath “a blackquoted path\and other folder”

what i’m doing wrong?

thankyou

UPDATE

Solution:

ControlChars.Quote & Path.Combine(ThisDir.Path, checkedpath1) & ControlChars.Quote
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T10:47:15+00:00Added an answer on June 14, 2026 at 10:47 am
    Process.Start(userSelectedFilePath, Path.Combine(ThisDir.Path, checkedpath));
    

    Path.Combine

    If path1 is not a drive reference (that is, “C:” or “D:”) and does not
    end with a valid separator character as defined in
    DirectorySeparatorChar, AltDirectorySeparatorChar, or
    VolumeSeparatorChar, DirectorySeparatorChar is appended to path1
    before concatenation.

    If path2 does not include a root (for example, if path2 does not start
    with a separator character or a drive specification), the result is a
    concatenation of the two paths, with an intervening separator
    character. If path2 includes a root, path2 is returned.

    The parameters are not parsed if they have white space. Therefore, if
    path2 includes white space (for example, ” c:\ “), the Combine method
    appends path2 to path1 instead of returning only path2.

    Not all invalid characters for directory and file names are
    interpreted as unacceptable by the Combine method, because you can use
    these characters for search wildcard characters. For example, while
    Path.Combine(“c:\”, “*.txt”) might be invalid if you were to create a
    file from it, it is valid as a search string. It is therefore
    successfully interpreted by the Combine method.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

After looking at several questions/answers here, I'm not seeing what I think I need.
Okay, pretty simple question. I think I need to drop in some escape characters,
I think I need a reverse version of strtok, like: char* p = rstrtok(str,
I think I need a way to perform a pivot or crosstab using C#
I think I need something akin to a rails eager loaded query with a
I don't think I need to post my code (there's lots of it) but
Okay, I think I need another pair of eyes to look over this. I'm
This SQL statement example is very close to what I think I need... update
I'm confused regarding each() and .each()... I think I need to use both, but
We need to think big and our applications need to scale in order to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.