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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T09:22:41+00:00 2026-06-05T09:22:41+00:00

for %%i in (foo bar) do @move %%i dir This is the content of

  • 0

for %%i in (foo bar) do @move %%i dir

This is the content of the batch file. It have to move the file to dir. But it returns error,

C:\>for %i in (foo bar) do @move %i dir
'for' is not recognized as an internal or external command, operable program or batch file.

What it the character ∩╗┐ ? I checked with notepad++ and I don’t find any hidden char in that batch file.

  • 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-05T09:22:43+00:00Added an answer on June 5, 2026 at 9:22 am

    Most likely you have UTF-8 encoding set in notepad++
    You will need to change it to UTF-8 without BOM or ANSI in order to work with cmd (batch)

    Strange characters you see at the beginning is BOM – byte order mark code used by UTF

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

Sidebar

Related Questions

f:\i>move foo bar dir The syntax of the command is incorrect help move says:
I have a file foo.bar.1 on my server and when I try to access
Supposing I have this: foo bar 1 and foo bar 2 How can I
Premise I have a directory /foo/bar I have a tar file containing the directory
Suppose you have this SVN repository structure Root Foo Project1 Project2 Bar Project3 And
i have: IEnumerable<Foo> foolist and i want to convert this to: IEnumerable<Bar> barlist is
class Foo(bar: String) { import Foo.Bar def this() = this(Bar) // this line fails,
I have a string of the form foo-bar-1.23-4, and I need to split at
I have two namespaces: 1) Foo.Bar 2) Another.Foo.Bar From a class in namespace 2,
I have two ASP.NET pages: site.com/foo/bar.aspx that should be world accessible and site.com/foo/baz.aspx that

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.