Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
help
#7
(07-04-2008, 01:12 PM)LPG link Wrote:Is there a QB command that allows you to see what directories / files are in a folder?
Others have suggested using a SHELL with a DIR to see the directories/files. However, this will just allow you to scroll through the list onc from top to bottom. The following example will allow you to browse the list up and down.

folder$ = full path and name of subject forder

SHELL "cmd/c DIR "+folder$+">thelist
' The above puts the contents, directories/files, into a work file called thelist.
SHELL "cmd/c EDIT thelist"
'Using EDIT lets you be able to scroll through thelist file.
'When you're done looking, exit the EDIT.

'Note: the cmd/c in the SHELL is to insure compatibility.

Regards..... Moneo
Reply


Messages In This Thread
help - by LPG - 07-04-2008, 01:12 PM
Re: help - by Opresion - 07-04-2008, 03:47 PM
Re: help - by roy - 07-04-2008, 08:45 PM
Re: help - by wildcard - 07-04-2008, 10:44 PM
Re: help - by Ralph - 07-05-2008, 01:59 AM
Re: help - by Dav - 07-07-2008, 09:03 PM
Re: help - by Moneo - 07-09-2008, 12:11 AM
Re: help - by Moneo - 07-09-2008, 05:09 AM
Re: help - by Ralph - 08-07-2008, 08:21 PM
Re: help - by Clippy - 08-08-2008, 09:26 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)