Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Loading files into a program
#11
Quote:So, thanks for all the tips. I didn't know any of the suggested commands like files, chdir, etc. I also tried Moneo's suggestion, but that was in a hurry, and didn't work. I'll take a better look after it later .......
Did you ever get my method to work? If not, please post your program so I can see what went wrong.
*****
Reply
#12
Quote:I used to have a program that Na_th_an gave to me that got the directory of a file such as windows and saved it to a text file so that it could be displayed in any way withing QB but I don't remember how he did it. You should ask him.

This

http://faq.qbasicnews.com/?blast=DirectoryContents

and maybe this is useful...

http://faq.qbasicnews.com/?blast=RelativePaths

but I don't know it this answers her question.
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#13
BANANNA,

Nathan's "DirectoryContents" example above confirms my suggestion of doing a SHELL with a DIR command. This is the most popular and proven method of obtaining a list of filenames in a given directory. You should try to get this working. If it won't work for you, post your program so we can help. If you're no longer interested, kindy advise.
*****
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)