Answer the question
In order to leave comments, you need to log in
How to transfer files by bat file?
There is a folder in which files are stored, you need to transfer them to the server in a folder with the current name usernam. The problem is that the Folder is created but the transfer fails, an error is generated: It is not possible to transfer several files into one file. Where is the script error please tell me I'm not experienced in writing these scripts
@echo off
chcp 866 >nul
set time=10
:loop
md \\192.168.0.21\c$\srin\%username%
Move /y C:\Skripts\*. * \\192.168.0.21\C$\scrin\"%username%"
ping 127.0.0.1 -n %time% >nul
Goto :loop
pause
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question