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 271793
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T00:13:11+00:00 2026-05-12T00:13:11+00:00

I added a batch (.bat) file to my project. I want to add a

  • 0

I added a batch (.bat) file to my project. I want to add a new editor for batch files that would actually execute this batch file in command prompt window.

What I did, but didn’t remember my editor:

  1. Right clicked on my .bat file
  2. Selected Open with…
  3. Clicked Add
  4. Set program as “cmd /c” and some Friendly name
  5. Accepted this dialog.
  6. A new window appears that tells me it can’t validate editor path (because of the additinoal parameter, because if I remove it, it works)
  7. My new editor is in the window.

When I open the same Open with… dialog again, my editor isn’t present.

How should I tackle this?

  • 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-12T00:13:11+00:00Added an answer on May 12, 2026 at 12:13 am

    Ok. I managed to solve this myself.
    As I found on the internet this is a Visual Studio bug, so it doesn’t remember these kind of editors (parametrised executable file names). But nonetheless. The solution goes like this:

    1. Create a separate batch file i.e. ExecuteBatch.cmd
    2. Put this code in it:

      @cmd /c %1

    3. Then add the new editor in Visual Studio by pointing to this ExecuteBatch.cmd file.

    Voila. Problem solved. Detailed instructions can be found in this blog post.

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

Sidebar

Related Questions

In vb.net, when writting an application, I want to access a batch file that
I am trying to execute a batch file using the Process class. This code
I have a batch file run.bat that requires many arguments for it to run.
i have created a batch file and have added it to the project using
I added a new website language to a TYPO3 project. The new website language
I am working on a batch file to read through the files in a
I'm using a batch file to concatenate all my css files copy /b reset.css+action-plan.css+buttons.css+behaviours.css+footer.css+forms.css+header.css+home.css+layout.css+lightbox.css+print.css+questionnaire.css+typography.css+you-told-us.css
I have a service that sometimes calls a batch file. The batch file takes
I created a batch file, to uninstall my application. My problem is that as
I'm using MyEclipse 8.0 to develop a Spring Batch project. Recently, I added MySQL

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.