11-27-2005, 01:23 AM
11-27-2005, 01:31 AM
er. okay. thats nice to know. I guess... >_> Don't know what else to say.
Anonymous
11-27-2005, 01:41 AM
go test lynns legacy, its in fb projects
12-05-2005, 01:40 AM
if u wanna test a QB program so bad, make ur own, its fun too, and u dont have to worry about not liking it
12-08-2005, 05:44 AM
Quote:test anyone's programs who wants me to! I have QBasic 4.5, and my comp will NOT run all. if it doesn't run, sorry.Ok, here's a little program that I normally compile with QuickBasic 4.5 before running. You can test it any way you wish. I'm also running Windows XP, but use what you have.
The program receives a path name of a directory which it wants to know if it exists. For this is does a SHELL which should send the words YES IT EXISTS to the screen if it exists. Well, on my PC and others, it doesn't recognize existing directories. I think it's the \NUL which is not working on Windows 2000 and XP.
So, test it, and see what conclusions you have, and if you can get it to work.
Code:
print "Enter path of directory to test ";
input dirtest$
s$="if exist "+dirtest$+"\nul echo YES IT EXISTS"
shell s$
SYSTEM
*****
12-08-2005, 07:00 AM
well i tired it for fun, and i just tried typing c:\, then c:\program files, and neither of them worked properly, plus you should add a CLS at beginning of file in case its run more then once
12-09-2005, 01:19 AM
Quote:well i tired it for fun, and i just tried typing c:\, then c:\program files, and neither of them worked properly, plus you should add a CLS at beginning of file in case its run more then onceThanks for your help.
Regarding "c:\", that's my mistake. The command will read:
IF EXIST C:\\NUL where the \\ is an error. I should have tested for this.
Regarding "c:\program files", this won't work because long filenames and directory names are not supported in MSDOS.
Please try some other directory names.
*****
12-09-2005, 02:37 AM
ill try c:\windows, it doesnt work, i tried caps and all, but all it does is end program
12-09-2005, 05:21 AM
Quote:ill try c:\windows, it doesnt work, i tried caps and all, but all it does is end programSo, it doesn't work with the SHELL from the program.
The same IF EXIST from the MSDOS command-line will work.
That's the point to this test.
What version of Windows are you running?
*****
12-09-2005, 05:25 AM
XP Home, wat i think the problem is is that \nul, ill try without that
...
nope, nadam zilch, i wonder why it isnt working
...
nope, nadam zilch, i wonder why it isnt working