mmm... one learns something new each day - even about elderly dos.As I understand it the move command allows one to move individual files - but not folders/directories; with the latter it merely allows one to rename the folder/directory?
This peculiar aspect of the move command does rather oddly resolve an apparent restriction of the rename (ren) command? The rename command being the command that allows one to rename a file - but according to M$ and others - not a folder/directory. Thus one has a slightly devious/odd way to rename a directory... However note the restriction that applies to the command; this in regard to path/destinations options...
If the windows folder has inadvertently been moved to a new location... then the move command will not work - for the reason above... But one might be able to (re)create a windows folder on the c: root and then use the xcopy command to copy the entire contents of the misplaced windows folder (sub-folders and all) to that newly (re)created windows folder? Once this has been done... possibly windows will boot OK - and if so then the misplaced version of windows folder/directory can be deleted?
re' the move command and what it allows:
http://www.computerhope.com/movehlp...
http://www.easydos.com/move.html
re' the rename command and what it allows:
http://www.microsoft.com/technet/ar...
http://www.easydos.com/rename.html
http://www.computerhope.com/renameh...
Strangely the last link (computerhope) for rename seems to suggest one "can" use ren/rename for directories? My memory is that it won't work that way (but haven't tried it lately either...). Possibley computerhope is correct and M$ et alii are wrong??? Note too the restriction that applies to the ren command in terms of path/location of the renamed file etc.
So if I'm correct in the above... then one cannot (under dos) "move" the windows folder (and its contents) to its preferred location.
But one might be able to (re)create the windows folder on c: root (where presumably it was); then use xcopy command (including all sub-folder/directories) to transfer/"xcopy" the contents of the misplaced version back to the newly (re)created folder?
If by chance "worky" you have managed to effect folder/diretory "move" using that "move command"...I'd be much obliged if you would detail exactly how you "dun it" (please)??
I can see it being possible to move (as in copy) a complete folder/directory (sub-folders/directories and all) within a windows OS - via Explorer; but under dos???
Incidentally the link in your post-13 seems not work?
Meanwhile whilst we enjoy a discussion about dos commands... we await feedback from "bigeli" as to whether or not the windows folder/directory really has gone awol...? My money is still on a possible drive going down the pan (bad sectors); or a genuinely corrupt installation - due to malware of one sort or another?