VOGONS


First post, by Pevans

User metadata
Rank Newbie
Rank
Newbie

Hi all,

I'm looking at using DOSBox to run some old (25 years) BASIC programs of mine, but I've run into a problem.

The code uses the DOS SORT command to sort (temporary) data files, but this doesn't work in DOSBox. Is there any way to get access to an equivalent of the SORT command? I seem to recall I used (at one stage) to have to set a path so that the programs could find command.com...

By the way, I'm running Win 7 Home Premium 64-bit (the programs work fine on everything up to and including Win 7 Home Premium 32-bit!).

Thanks,

Reply 1 of 3, by DosFreak

User metadata
Rank l33t++
Rank
l33t++

You can try SORT from MS-DOS (may need to use the DOSBox "ver set" command)

FROM THE DOSBOX README

VER VER set major_version [minor_version] Display the current DOSBox version and reported DOS version (parameterless usage). […]
Show full quote

VER
VER set major_version [minor_version]
Display the current DOSBox version and reported DOS version
(parameterless usage).
Change the reported DOS version with the "set" parameter,
for example: "VER set 6 22" to have DOSBox report DOS 6.22 as version number

or

FreeDOS SORT http://www.freedos.org/software/?prog=sort

How To Ask Questions The Smart Way
Make your games work offline

Reply 2 of 3, by Pevans

User metadata
Rank Newbie
Rank
Newbie

Brilliant! The FreeDOS SORT does the job.

Many thanks,

Reply 3 of 3, by HunterZ

User metadata
Rank l33t++
Rank
l33t++

The FreeDOS tools work well under DOSBox. D-Fend Reloaded actually ships with them.