Works great in qb64by lawgin (no login)
That missing space solved the problem when run with qb64.
Oddly, when I run the same program in qb4.5 it stops with an illegal function call at the SHELL statement. Here is the offending line directly copied:
SHELL "cmd /c ren " + CHR$(34) + "j:\bshare\" + nam$ + CHR$(34) + " " + CHR$(34) + new$ + CHR$(34)
Again, this works in qb64. Perhaps it's because the file is on a different drive?
|Response Title||Author and Date|
|Re: Works great in qb64||on Sep 16|
|You are right again||lawgin on Sep 16|
|*yw||on Sep 16|
|* Thanks for the info. Didn't know that about Qbasic!||on Sep 17|