Hi all;
after spending my noon on google/forums and not find the solution please accept my post:
I try to find the correct command in dos mode to move a folder, with files inside, from a source folder to a destination folder.
It seems to be impossible with move command (as it works only for files, not for folders).
And i don't want to use xcopy/deltree...
Thank you for support !
BR:)
[Windows - Bash] Moving folder
Re: [Windows - Bash] Moving folder
Uh, I can move directories just fine.. even with files inside.
Code: Select all
C:\>ver
Microsoft Windows XP [Version 5.1.2600]
C:\>mkdir TEMP
C:\>cd TEMP
C:\TEMP>mkdir 1 2
C:\TEMP>echo >> 1\1.TXT
C:\TEMP>echo >> 2\2.TXT
C:\TEMP>dir /w
Volume in drive C has no label.
Volume Serial Number is A8A7-611A
Directory of C:\TEMP
[.] [..] [1] [2]
0 File(s) 0 bytes
4 Dir(s) 77,072,605,184 bytes free
C:\TEMP>move 1 2
C:\TEMP>cd 2
C:\TEMP\2>dir /w
Volume in drive C has no label.
Volume Serial Number is A8A7-611A
Directory of C:\TEMP\2
[.] [..] [1] 2.TXT
1 File(s) 13 bytes
3 Dir(s) 77,072,605,184 bytes free
C:\TEMP\2>
Last edited by undertow on September 15th, 2009, 4:14 pm, edited 1 time in total.