Windows 98 comes with Dos 7.0 'built in'. If you boot Windows 98 and hold the F8 key to get to the startup menu and boot to "Safe Mode Command Prompt Only" you effectively have native Dos 7.0 running. Everything you could wish to do in DOS 6.22 is available in Dos 7.0 with TWO exections.
1) DEFRAG is not available, but that is hardly a problem.
2) DO NOT USE DRVSPACE compression!!!
All the MSDOS 6.22 commands are in the c:\windows\command folder and can be accessed using the cd command. You will not be able to access files stored with long filenames or paths longer than 255 bytes, and you are restricted to standard 8.3 filenames, i.e. c:\Program Files is seen by DOS as c:\progra~1
There have been no changes in switches for any of the commands between V6.22 and 7.0 so all the DOS6.22 switches still work, e.g. dir /w /p, attrib filename.txt -r -h -s etc.
The don't call me GuruOfDOS for nothing!!!