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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T09:17:59+00:00 2026-05-27T09:17:59+00:00

I am not an experienced windows user (go easy on me). I was asked

  • 0

I am not an experienced windows user (go easy on me).

I was asked to create a simple batch file, which moved a group of files into a folder, using the Move method. This folder was called ‘1’ (after a specific date). However, in my batch file, I mistakenly named it ’01’. Instead of causing an error, the files were compressed, and moved into a new file in the path location, named ’01’. It has no file type, and I am not sure how to expand it to see my original files again. I have tried converting it into .rar and .zip, but I fear this is me clutching at straws.

Any help is much appreciated!

Edit:

Here is the original code, used for the file…

for /f %%f in ('dir/b \\folder1\folder2\Archive') do (

MOVE "\\folder1\folder2\Archive\%%f" "\\folder1\folder2\Archive\2011\11\01\")
  • 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-27T09:18:00+00:00Added an answer on May 27, 2026 at 9:18 am

    You moved the files one by one, instead of all at once, I guess (because that wouldn’t have been possible otherwise).

    The file 01 contains the contents of the last file you moved. Essentially if the target of a move operation is a file or doesn’t exist, you’re doing a rename. All files moved the same way into the same file are lost.

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

Sidebar

Related Questions

I'm not a a very experienced Windows developer, so I hope this all makes
This might be an easy one, but I'm not really experienced with sql. I
I have a VERY simple windows form that the user uses to manage Stores.
Has anyone experienced an issue where WAS does not use the Windows username when
I'm not that experienced in windows programming and want to know what api windows
Perhaps a dump question (But I'm not a super experienced user of .NET), but
I'm not an experienced C++ programmer and I'm having problems compiling. I've got a
I'm not very experienced with JavaScript, but this code was similar to what I
I'm not super experienced in writing grammars, but let's say I have a record
I'm a long time developer but not very experienced with DNS. Here's my problem:

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.