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=10Using the above file, I need to create a file as shown below:-
04/04/2010 xxxxx
04/04/2010 xxxxxxx
04/05/2010 xxxxxxxxxxHow do I do this using VBScript?
Thanks,
programming forum please
@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...
Yes (14) | ![]() | |
No (14) | ![]() | |
I don't know (15) | ![]() |