VBScript-How to create a graph

April 5, 2010 at 10:22:40
Specs: XP
I have a text file with the following data.
Date=04/04/2010 Time=5
Date=04/04/2010 Time=7
Date=04/05/2010 Time=10

Using the above file, I need to create a file as shown below:-
04/04/2010 xxxxx
04/04/2010 xxxxxxx
04/05/2010 xxxxxxxxxx

How do I do this using VBScript?
Thanks,


See More: VBScript-How to create a graph

Report •


#1
April 5, 2010 at 10:30:46
programming forum please

Report •

#2
April 5, 2010 at 15:46:39

Report •

#3
April 5, 2010 at 20:54:00
@echo off & setlocal enabledelayedexpansion
for /f "tokens=2,4 delims= =" %%a in (file) do (
set xx=%%a
for /L %%z in (1 1 %%b) do set xx=!xx!x
echo %xx%
)
::----- sorry, this is batch, didn't see the VBS till too late
if no answer tomrrow i will try to give VBScript version...

Report •

Related Solutions


Ask Question