Create a text file “MyFile.txt” with the DOS command inside that is working with your system configuration
Rename the file : “MyFile.bat”
And execute this batch file with HTBasic
I don’t know if it’s the best solution for you but it’s an idea when you said the DOS command is working.
It could be also a good solution to add some function to HTBasic.
For example, find bellow a batch file I use to see the tasklist content (need to have a D partition) :
tasklist /v >”d:\tasklist.txt”