Batch code to transfer files.
kamiakze13016
Posted messages
9
Registration date
Status
Member
Last intervention
-
Toncopin Posted messages 140 Status Member -
Toncopin Posted messages 140 Status Member -
Hello,
I have a dedicated Windows 2012 R2 Standard server, and I have a game server on it with an FTP server. What I would like to do is create a batch file that would take the files from a directory "A" to place them in a directory "B". Is this possible?
Configuration: Windows 7 / Chrome 46.0.2490.71
I have a dedicated Windows 2012 R2 Standard server, and I have a game server on it with an FTP server. What I would like to do is create a batch file that would take the files from a directory "A" to place them in a directory "B". Is this possible?
Configuration: Windows 7 / Chrome 46.0.2490.71
2 answers
Yes, it is entirely possible to do batch cut/paste, here is the command:
move folder/file folder2/file
kamiakze13016
Posted messages
9
Registration date
Status
Member
Last intervention
ok I want to copy myself but I think I need to replace move with copy?
I'm having a problem again ^^' I ran this in the command line, but the file isn't being created, I don't understand why?
xcopy C:\Users\Administrateur\Desktop\FTP Modif Serveur\Altis_Life.Altis C:\Program Files (x86)\Steam\steamapps\common\Arma_3_Server\mpmissions\Altis_Life.Altis