FileSplitter Tool – Splitting data file

update the following lines: set “inputFile=C:\path\to\your\input.txt”set “outputFolder=C:\path\to\output”set “linesPerFile=1000” and here is the bat file: @echo offsetlocal :: Set variablesset “inputFile=C:\path\to\your\input.txt”set “outputFolder=C:\path\to\output”set “linesPerFile=1000” :: Create output directory if it doesn’t existif not exist “%outputFolder%” (mkdir “%outputFolder%”) :: Run PowerShell to split the filepowershell -Command ^“$inputFile = ‘%inputFile%’;” ^“$outputFolder = ‘%outputFolder%\’;” ^“$linesPerFile = %linesPerFile%;” ^“$i = 0;”…

Read More