Alright, I have an RTF file that I need to programatically open in wordpad, saved as a TXT file. After it is saved, I need to change the file extention of the file to a csv file which will give me an excel parse-able version. So far currently I am calling a batch file which is opening the file in wordpad and changing the file extention with no problem. But how do I get the file saved as a text file? I figure I can call another script that is capable, but I need direction. Here is the batch file I am using.
start write "ITEMS_EXPORT.rtf"
del "ITEMS_EXPORT.csv"
del "ITEMS_EXPORT.txt"
cls
echo "save RTF file as ITEMS_EXPORT.txt text file to continue."
pause
RENAME "ITEMS_EXPORT.txt" "ITEMS_EXPORT.csv"
I then go back to the excel code that parses the file. Any info would help. Thanks!
start write "ITEMS_EXPORT.rtf"
del "ITEMS_EXPORT.csv"
del "ITEMS_EXPORT.txt"
cls
echo "save RTF file as ITEMS_EXPORT.txt text file to continue."
pause
RENAME "ITEMS_EXPORT.txt" "ITEMS_EXPORT.csv"
I then go back to the excel code that parses the file. Any info would help. Thanks!