I've been thinking too about Syntax Error's method...
Problem is indeed that WinXP has "Cmd", while win98 uses "Command".... If Blitz would have a way to read Evironment variables you could solve that problem...
(don't know the Blitz variant if it exists, but for the easiness I'll call it GetEnviron)
If Blitz supports this, the problem is solved... (For the DOS-Call that is, an internal feature would be a lot better)...
Problem is indeed that WinXP has "Cmd", while win98 uses "Command".... If Blitz would have a way to read Evironment variables you could solve that problem...
(don't know the Blitz variant if it exists, but for the easiness I'll call it GetEnviron)
ExecFile GetEnviron("COMSPEC") & "/c ren OldFile.txt NewFile.txt"
If Blitz supports this, the problem is solved... (For the DOS-Call that is, an internal feature would be a lot better)...