Search found 3 matches
- 27 Jun 2016 07:59
- Forum: DOS Batch Forum
- Topic: Batch file to move files based on a list
- Replies: 13
- Views: 29324
Re: Batch file to move files based on a list
That is the important part for use to know. They can be moved or copied to another computer if you have access rights to that machine, and it's a local machine in your LAN. Creating the folder if it doesn't exist is easy too, if that is what you mean. For example, my source folder contains multiple...
- 25 Jun 2016 19:35
- Forum: DOS Batch Forum
- Topic: Batch file to move files based on a list
- Replies: 13
- Views: 29324
Re: Batch file to move files based on a list
If there are files in your list that exist in different folders, then it can be done if the list contains the fully qualified paths. Explain your task so we understand what you want to do. You're right, my files in list exist in different folders, I want to copy and move them from a source folder w...
- 24 Jun 2016 09:04
- Forum: DOS Batch Forum
- Topic: Batch file to move files based on a list
- Replies: 13
- Views: 29324
Re: Batch file to move files based on a list
Try this: @echo off set Source=C:\Users\MAs\Desktop\moving\PI set Target=C:\Users\MAs\Desktop\moving\no set FileList=C:\Users\MAs\Desktop\moving\not.txt echo. if not exist "%Source%" echo Source folder "%Source%" not found & goto Exit if not exist "%FileList%" echo...