Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Umwandlungsskript

Status
Not open for further replies.

Mahmoud.wardeh

Programmer
Jul 26, 2018
1
DE
Hallo,
ich muss ein VBSkript skript erstellen : Ein Programm (aufrufbar per Kommandozeile) soll die Datei input.txt in output.csv umwandeln.

Wie kann ich das machen?
Danke
 
Hi Mahmoud,

You will not find many native German speakers in these forums.
To help you, we will also need much, much more information.

What does input.txt look like? What is the delimiter (tab, comma, semicolon?), text qualifier (if any), encoding (Windows 1252? UTF-8? UTF-16?)?
What should output.csv look like (delimiter, text qualifier, encoding?)?

Most important: What have you yourself tried so far?

Best regards,
MakeItSo

"Knowledge is power. Information is liberating. Education is the premise of progress, in every society, in every family." (Kofi Annan)
Oppose SOPA, PIPA, ACTA; measures to curb freedom of information under whatever name whatsoever.
 
You didn't specify which input you want to umwandeln in which output.
CSV-files are text files like TXT-files, so you can use Scripting.FileSystemObject to handle both types of files.
Maybe look at this example I posted here some years ago where the script reads one input CSV file, processes it line-by-line and writes other output CSV file.
IMHO, in your case it could be similar.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top