How can I get a fixed length record in Windows

Ole Hansen, ScanConsult oh@scanconsult.dk
Wed, 8 Oct 2003 19:37:53 +0200


Hi Jeff,

In similar circumstances we use a utility TOFIX, that I wrote years back in
Turbo Pascal, now re-compiled under Windows XP.

>From its help :

Converts a variable-length file to a fixed-length file
ScanConsult IT-Partners            www.scanconsult.dk
Usage : tofix <record-length> <infile> <outfile>

Since the list server strips attachments (I think), I have sent the utility
to you off-list.

HTH

Mange hilsner / With kind regards
 
Ole Hansen
 
===========================================================
E-mail: oh@scanconsult.dk         Cell Phone: +45 4040 1150
===========================================================
ScanConsult IT-Partners ApS         Voice   : +45 8738 7474
Jegstrupvej 96A                     Fax     : +45 8738 7475
DK-8361 Hasselager         Support : support@scanconsult.dk
Denmark                    Sales   :   sales@scanconsult.dk
                 http://www.scanconsult.dk                
= ParaSuite :  A Suite of Air Cargo Handling solutions    =
= ParaSafe  :  A Suite of IT-Security solutions           =
= Partners  : Hewlett-Packard, Cognos, Microsoft and more =



-----Original Message-----
From: powerh-l-admin@cube.swau.edu [mailto:powerh-l-admin@cube.swau.edu] On
Behalf Of Jeff Hoffman
Sent: 8. oktober 2003 17:59
To: powerh-l@lists.swau.edu
Subject: How can I get a fixed length record in Windows


Hi

I need to do a dir command to a file, then read this file in PH. The record
has been defined as 80 char, however the dir command gives a variable length
record. Does anyone have a Windows solution.

Ph841c on Windows 2000

Thanks

Jeff
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
+
+ Jeff Hoffman                          + e-mail: wonicon@optushome.com.au
+
+ Director                              +
+
+ WoniCon Pty Ltd   (ABN 93 083 502 630)+                          ,-_|\
+
+ 21 Prices Circuit                     + voice: +61 2 9542 1527  /     \
+
+ Woronora    NSW     2232              +                         \_,-._*
+
+ AUSTRALIA                             + mobile: 040 790 3929         v
+
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
+
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l@lists.swau.edu
Subscribe: "subscribe" in message body to powerh-l-request@lists.swau.edu
Unsubscribe: "unsubscribe <password>" in message body to
powerh-l-request@lists.swau.edu
http://lists.swau.edu/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.