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

  • Home
  • SEARCH
  • 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 7608223
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T00:51:45+00:00 2026-05-31T00:51:45+00:00

Console Window Host, or conhost.exe allows you to drag a file or folder into

  • 0

Console Window Host, or conhost.exe allows you to drag a file or folder into a cmd.exe window, instead of typing the path.

If the path contains any spaces then it is wrapped in double quotes, eg

"C:\Program Files"

Problems

Ampersand

If you happen to have a path with & dragging it will fail

cd C:\foo&bar
The system cannot find the path specified.
'bar' is not recognized as an internal or external command, operable program
or batch file.

Bash

If you happen to be using Bash on Windows then any path without a space will
fail.

$ cd C:\Windows\System32
sh: cd: C:WindowsSystem32: No such file or directory

Is there a way to make conhost always apply the quotes to dragged files?

  • 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-05-31T00:51:46+00:00Added an answer on May 31, 2026 at 12:51 am

    One alternative is to use Tab to complete the path.

    I had to edit my ~/.inputrc to add this.

    "\t": complete-filename
    

    source: gnu.org/software/bash/manual/bashref

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

Sidebar

Related Questions

How to populate List (string) items on console window in c++cli.
While testing a console app, I set the properties of the console window to
I have a C# project building winexe that startup without console window. However, I
I would like a progress bar to appear in the console window while a
I want to a create dialog box like window before displaying the console window.
I am currently refactoring an application that prints its status to the console window.
In Eclipse, how do you adjust the maximum lines in the console window? My
I wonder, if there is a way to make VS C++ Express console window
How can I bring a console application window to front in C# (especially when
The java.io.Console class requires there to be a Console device (window). How can I

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.