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\")
You moved the files one by one, instead of all at once, I guess (because that wouldn’t have been possible otherwise).
The file
01contains the contents of the last file you moved. Essentially if the target of amoveoperation is a file or doesn’t exist, you’re doing a rename. All files moved the same way into the same file are lost.