@echo off
if not exist "f:\Backup" md "f:\Backup"
:start
if not "%~1"=="" (
move "%~1" f:\Backup\
shift
goto :start)
pause>nul
Quoting the code from the second-floor brother, I tested it and it supports drag-and-drop operations, which has well solved the problem I mentioned earlier: (Currently it can only support single files, and the file name cannot have spaces. I don't know how to improve it to support multiple files (more than 9) and not be affected by spaces. I changed %1 to "%1" and it prompted that the command syntax is not supported.) However, after testing, it is found that it does not support folders. I don't know how to improve it?
Maybe I didn't make it clear earlier, sorry. Actually, I want to put this P into SENDTO to use, or directly drag and drop multiple files onto this P to operate
Great gods, please take a look... :lol:
[ Last edited by echo on 2006-12-12 at 04:50 PM ]
if not exist "f:\Backup" md "f:\Backup"
:start
if not "%~1"=="" (
move "%~1" f:\Backup\
shift
goto :start)
pause>nul
Quoting the code from the second-floor brother, I tested it and it supports drag-and-drop operations, which has well solved the problem I mentioned earlier: (Currently it can only support single files, and the file name cannot have spaces. I don't know how to improve it to support multiple files (more than 9) and not be affected by spaces. I changed %1 to "%1" and it prompted that the command syntax is not supported.) However, after testing, it is found that it does not support folders. I don't know how to improve it?
Maybe I didn't make it clear earlier, sorry. Actually, I want to put this P into SENDTO to use, or directly drag and drop multiple files onto this P to operate
Great gods, please take a look... :lol:
[ Last edited by echo on 2006-12-12 at 04:50 PM ]

