OS$ = ENVIRON$("OS")
IF LEN(OS$) THEN CMD$ = "CMD /C " ELSE CMD = "Command /C "
Win 3, 98 and 95 did not have the "OS" parameter.
Return to Index
|Response Title||Author and Date|
|Re: I get error 53 on my XP in Qbasic.||Pete on Jan 9|
|* Sorry, I used QB45. My "COMSPEC also says "COMMAND.COM"||Clippy on Jan 9|
|QB64 returns COMSPEC correctly while QB and QuickBasic do not||Clippy on Jan 9|
|That is correct...||Pete on Jan 9|
|I think this should work for any Windows OS. [edited]||Clippy on Jan 9|