Hello,
Even though I have been using the great products of JP Software for a long time (4DOS, 4NT and now TCMD/TCC), I have to confess that I have been using them in a quite basic way. Even though I have written a few .btm files over the years, they have been very simple and meant to solve simple, uncomplicated tasks.
However, I am now in need of a more complex batch file, and I do not know how to organize this project; which functions to use to achieve what I want, and if this at all is possible to do (although I would be surprised if not). :-)
This is what I want the batch file to do:
1. Check which external drives are connected to the computer
2. Check free disk space on each external drive
3. Move a number of files from a directory on an internal drive to the first external drive that has room for them
Any help would be highly appreciated.
Best regards,
Tore Johnny (TJ) Bratveit
Even though I have been using the great products of JP Software for a long time (4DOS, 4NT and now TCMD/TCC), I have to confess that I have been using them in a quite basic way. Even though I have written a few .btm files over the years, they have been very simple and meant to solve simple, uncomplicated tasks.
However, I am now in need of a more complex batch file, and I do not know how to organize this project; which functions to use to achieve what I want, and if this at all is possible to do (although I would be surprised if not). :-)
This is what I want the batch file to do:
1. Check which external drives are connected to the computer
2. Check free disk space on each external drive
3. Move a number of files from a directory on an internal drive to the first external drive that has room for them
Any help would be highly appreciated.
Best regards,
Tore Johnny (TJ) Bratveit