Solved VBScript - I want to format write to text with TABS

April 25, 2016 at 20:05:41
Specs: Windows 7
Here is my VBScript write(append) to a log.txt I want to add a tab or make columns on the textfile for readability.

I was hoping to find a special character .. & [someCHAR] & .. but can't seem to find this...

'------after copy append fname to my log.txt
objFile.Write " - " & f.Name & " WAS COPIED FROM: " & tF &" To "& dF & Now & VbCrLf


See More: VBScript - I want to format write to text with TABS

Report •


#1
April 25, 2016 at 21:00:46
Chr(9)

Solved it myself. Of course after posting the question ... & Chr(9) &


Report •

#2
April 25, 2016 at 21:18:43
✔ Best Answer
I use vbTab myself, 'cause I find it easier to remember.

How To Ask Questions The Smart Way


Report •

Related Solutions


Ask Question