I need to create a batch script to sort this file by address field then by the lastname field. This is a columnar data file.
0SGzeWy0000003l 12345 NY 123 Anywhere St. Smith 0SGzeWy000000xO 88779 NY 455 Elswhere St. Jones 0SGzeWy000002Is 11712 NY 75 Pearl St. Claus 0SGzeWy000003Bl 11712 NY 74 Pearl St. Cooper 0SGzeWy000004lB 11712 NY 7 Pearl St. Lightyear 0SGzeWy000005eC 11712 NY 788 Pearl St. Mouse 0SGzeWy000006Xf 11712 NY 799 Pearl St. Duck 0SGzeWy000007Qh 11712 NY 7000 Pearl St. Mouse 0SGzeWy000008JQ 11712 NY 700 Pearl St. Duck 0SGzeWy000009ax 11712 NY 7 Pearl St. Lightyear
@Mike, HA Ha! ;) Ah, if your script is call sort.bat, then it may be calling itself. You might try renaming your script to something that's not a command. I made this mistake (if this is the issue, that is) with "rename" once, and it drove me batty.
The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this
site. Computing.Net and Compnet Ventures, LLC hereby disclaim all responsibility
and liability for the content of Computing.Net and its accuracy.