March 2023 - W3Space Blog

Convert Excel Files to CSV – Windows Script

Instructions Copy both files into the directory containing the files you want converted Run excel-to-csv.bat Note: This script requires Excel to be installed. excel-to-csv.bat FOR /f “delims=“ %%i IN (‘DIR *.xls* /b’) DO to-csv.vbs “%%i“ “%%i.csv“ to-csv.vbs if WScript.Arguments.Count < 2 Then WScript.Echo “Please specify the source and the destination files. Usage: ExcelToCsv <xls/xlsx source file>… read more »

 1,180 total views

Sidebar