but just wanna get more help in the area that I don't get so familiar with
The successful one:
Code: Select all
MOVE "c:\*txt" "c:\txt\"
The failing one (in CMD):
Code: Select all
FOR "c:\txt\" %F IN (*.txt) DO MOVE %F "c:\txt\"
Moderator: DosItHelp
Code: Select all
MOVE "c:\*txt" "c:\txt\"
Code: Select all
FOR "c:\txt\" %F IN (*.txt) DO MOVE %F "c:\txt\"
Code: Select all
:: "%F" ignores filenames with spaces
FOR %F IN ("c:\*.txt) DO MOVE "%F" "d:\"
mid_life_crisis wrote:How do you do this same thing but for all subfolders as well?