Batch file that takes rows from excel

Soldato
Joined
26 May 2006
Posts
6,203
Location
Edinburgh
How would I go about creating a batch file that takes rows from excel.

for example:

Username, Password

I want the 900 odd names and passwords redirected to a folder on my desktop.

So I would get 900 individual files with the username as the name of the file and inside would be the username and password.
 
How would I go about creating a batch file that takes rows from excel.

for example:

Username, Password

I want the 900 odd names and passwords redirected to a folder on my desktop.

So I would get 900 individual files with the username as the name of the file and inside would be the username and password.

I don't know if it's possible from an actual Excel file, but you can export as CSV (a text file where the values are all separated by commas) and try parsing that somehow, you may need some unixy utilities like sed to help (you can get them from the cygwin project).
 
Back
Top Bottom