Thanks it works.

Jose

----- Original Message ----- 
From: "Nick Cipollina" <[EMAIL PROTECTED]>
To: <u2-users@listserver.u2ug.org>
Sent: Tuesday, March 22, 2005 2:33 PM
Subject: Re: [U2] Q-pointers to system folder


> One possible solution is this, say you have a folder that is located
> at C:\TextFiles.  Edit a VOC entry called TEXTFILES and put the
> following:
>
> 001 F
> 002 C:\TextFiles
>
> save it.  Then do the following  CREATE.FILE DICT TEXTFILES 1,1,18.
> This will create the dictionary for this file
>
> Then in your code you could do the following:
>
> OPEN "TEXTFILES" TO TEXTFILES ELSE ABORT
> SELECT TEXTFILES
> LOOP
>    READNEXT ID ELSE EXIT
>    READ REC FROM TEXTFILES, ID THEN
>       *Do stuff here
>    END
> REPEAT
>
>
> Is this what you were looking for?
>
> On Tue, 22 Mar 2005 12:13:20 +0000, Jose Canseco <[EMAIL PROTECTED]>
wrote:
> > Some years ago,I discover Universe as a very good tool for working with
text
> > files, (Lot of helpfull data basic commands) Now I'm trying to use UV
for
> > this purose, but geting access to DOS files, It's possible to do a "Q"
> > pointer or similar to work with all txt files in a Windws folder
(001.txt,
> > 002.txt,.....) work with this files and write back them in a diferent
> > folder?
> >
> > The procedure its simple but I'dont know who to work with dos folders
from
> > basic.
> >
> > PD: What I Want to do is :
> >
> > Create Pointers
> > Run program,
> >
> >        open files
> >          select DOS files from the folder
> >          read dos file,
> >             modify items,
> >             write in diferent place
> >          repeat
> >        Close
> >
> > Thanks in advance.
> >
> > _________________________________________________________________
> > Acepta el reto MSN Premium: Proteccisn para tus hijos en internet.
> > Descargalo y pruibalo 2 meses gratis.
> >
http://join.msn.com?XAPID=1697&DI=1055&HL=Footer_mailsenviados_proteccioninfantil
> > -------
> > u2-users mailing list
> > u2-users@listserver.u2ug.org
> > To unsubscribe please visit http://listserver.u2ug.org/
> -------
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to