If you have this structure in your disk:
C:\Folder A
| | Folder 2
| | | Video 1
| | | | Image1
| | | | Image2
... and you execute these commands:
cd "\Folder A"
move "Folder 2" ..
... then you get this result:
C:\Folder A
| Folder 2
| | Video 1
| | | Image1
| | | Image2
That is, it move "Folder 2" one level up, to the same level of "Folder A". If you want to do the same thing with all folders inside "Folder A" and then delete it, this Batch file do that:
@echo off
cd "\Folder A"
for /F "delims=" %%a in ('dir /B /AD') do (
move "%%a" ..
)
cd ..
rd "\Folder A"
Is this what you want?
EDIT: New version added as answer to new comments
@echo off
rem Eliminate all folders present at the same level of the Batch file
rem and move their contents one level up
for /F "delims=" %%a in ('dir /B /AD') do (
cd "%%a"
for /F "delims=" %%b in ('dir /B /AD') do (
move "%%b" ..
)
move *.* ..
cd ..
rd "%%a"
)
You must note that if two or more folders or files in the stuff have the same name, and they were originally placed directly below the top-level folders that are being deleted, then the program will issue an error and the folder or file will not be moved (and the top-level folder will not be deleted).
Antonio