There is no error in the code itself in terms of basic syntax. However, the issue might be that when you do `set drivers=%%i`, if there are multiple drives, this will only capture the last drive. Also, the way you are parsing the `drives.txt` file might need to be adjusted depending on exactly what you are trying to achieve. But based on the provided code, the error as described "why can't set drivers" is a bit unclear. The code is supposed to capture the drive letters from `drives.txt` after skipping the first line and then set the `drivers` variable to each drive letter, but if you want to collect all drives, you need to accumulate them instead of just overwriting `drivers` each time.
In English: There is no inherent error in the code itself in terms of basic syntax. However, the problem might be that when you do `set drivers=%%i`, if there are multiple drives, this will only capture the last drive. Also, the way you are parsing the `drives.txt` file might need to be adjusted depending on exactly what you are trying to achieve. But based on the provided code, the statement "why can't set drivers" is a bit unclear. The code is supposed to capture the drive letters from `drives.txt` after skipping the first line and then set the `drivers` variable to each drive letter, but if you want to collect all drives, you need to accumulate them instead of just overwriting `drivers` each time.
In English: There is no inherent error in the code itself in terms of basic syntax. However, the problem might be that when you do `set drivers=%%i`, if there are multiple drives, this will only capture the last drive. Also, the way you are parsing the `drives.txt` file might need to be adjusted depending on exactly what you are trying to achieve. But based on the provided code, the statement "why can't set drivers" is a bit unclear. The code is supposed to capture the drive letters from `drives.txt` after skipping the first line and then set the `drivers` variable to each drive letter, but if you want to collect all drives, you need to accumulate them instead of just overwriting `drivers` each time.

