Command Prompt: Why do I get “cannot find the path specified” when I move a folder (with contents) from the desktop to a new directory?

前端 未结 3 481
伪装坚强ぢ
伪装坚强ぢ 2021-01-04 10:51
move C:\\%USERNAME%\\Desktop\\TZClock C:\\%USERNAME%\\Start Menu\\Programs\\TZClock

I keep getting system cannot find the path specified. But I can

3条回答
  •  情话喂你
    2021-01-04 11:06

    If you want to move more than one directory using wildcard, you can use FOR /D command. Type this in command-line (don't forget to replace _source_dirs_ and _destination_dir_ with your directories):

    FOR /D %p IN ("_source_dirs_*") DO MOVE %p _destination_dir_
    

提交回复
热议问题