I was talking about using Qbasic. Here is another solution.

by (Login burger2227)
R


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.

Ted

Posted on Jan 9, 2010, 2:47 AM

Respond to this message   

Return to Index

Response TitleAuthor and Date
Re: I get error 53 on my XP in Qbasic. on Jan 9
 * Sorry, I used QB45. My "COMSPEC also says "COMMAND.COM" on Jan 9
 QB64 returns COMSPEC correctly while QB and QuickBasic do not on Jan 9
  That is correct... on Jan 9
   I think this should work for any Windows OS. [edited] on Jan 9

 Copyright © 1999-2014 Network54. All rights reserved.   Terms of Use   Privacy Statement