Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dir command does not work anymore.

Status
Not open for further replies.

harmmeijer

Programmer
Mar 1, 2001
869
CN
Both in visual studio 6.0 and in access the dir("somepath", vbdirectory) does not work anymore.
It gives a bs value, see below:
? dir("c:\", vbDirectory)
FRUNLOG.TXT

Well FRUNLOG.TXT is not a directory, if I use another directory (like windows) it gives me files as well as directorys. I might as well leave the vbDirecstory out of the command.

What can I do to fix this and how can it be (it worked yesterdaty). Did I pick up something unpleasant from the net?
 
Katerine allready gave me the answer, I misunderstood the dir command.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top