:copy1
cls
if exist C:\cmd-codes\8131-94-70+8-535-8-351x9-\0-59-0-\copys\ (
cls
goto copy2
)
if not exist C:\cmd-codes\8131-94-70+8-535-8-351x9-\0-59-0-\copys\ (
echo error C:\cmd-codes\8131-94-70+8-535-8-351x9-\0-59-0-\copys\ not found
echo creating C:\cmd-codes\8131-94-70+8-535-8-351x9-\0-59-0-\copys\...
md C:\cmd-codes\8131-94-70+8-535-8-351x9-\0-59-0-\copys\
goto copy1
)
:copy2
echo type directory and file name here e.g. C:\folder\finder.bat
set /p copyinput=
echo you put in %copyinput%
xcopy %copyinput% C:\cmd-codes\8131-94-70+8-535-8-351x9-\0-59-0-\copys\
pause
this is my code but it dont work
i whant to copy a file from my pc to a copys folder
useing user input
Comments
No Comments Exist
Be the first, drop a comment!