Qbasicnews.com

Full Version: Minor update at Antoni Gual page
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Just some downloads and links added/updated, the same old design and an e-mail address to spam.
http://www.geocities.com/antonigual/qbasic.html
Quote:You are the visitor number Counter

I like the "smallest directory browser" category Wink
Solved. Thanks!

For the small browsers, I always wanted a simple SUB to paste into those programs whose use user interface is.
Code:
Input file name:
Heh, well it's a good idea. Maybe it should be a challenge somewhere... Wink
No rules against shell to dos or interrupt calls, please. Don't forget these are the only ways you can change drive in QB!
The problem with using shell, is that on XP you need to add "cmd" while on 9x it doesent work with "cmd"

XP:
SHELL "cmd " + [command]

9x:
SHELL [command]


It's annoying, I tell you...
So none of the directory browsers in my page works for you?
They work ok in Windows 2000!
Quote:The problem with using shell, is that on XP you need to add "cmd" while on 9x it doesent work with "cmd"

XP:
SHELL "cmd " + [command]

9x:
SHELL [command]


It's annoying, I tell you...

Not true, in XP you don't need "cmd". This works perfectly:

Code:
SHELL "dir >p.txt"
OPEN "p.txt" FOR INPUT AS #1
WHILE NOT EOF(1)
   LINE INPUT #1, l$
   PRINT l$
WEND
CLOSE

The only prob with XP is that SHELLing from a QB program doesn't work with long filenames (the DIR above gives the ~1 filenames and stuff), whilst in 98 it did (the above program would list long filenames in Win98).
I'm on win98

Nath, sorry. I meant:

SHELL [program name]
Does not work under XP, atleast not on the two computers I've tested it on...

Whereas, SHELL "cmd "+[program name] works fine


Antoni, they all work fine for me Wink, just pointed a possible problem oput, but it turned out to be not so much of a problem after all, like nath said.
Quote:I'm on win98

Nath, sorry. I meant:

SHELL [program name]
Does not work under XP, atleast not on the two computers I've tested it on...

Whereas, SHELL "cmd "+[program name] works fine


Antoni, they all work fine for me Wink, just pointed a possible problem oput, but it turned out to be not so much of a problem after all, like nath said.

I've just tried. It works. I just did a

Code:
SHELL "BC"

and it worked.
Pages: 1 2