Re: Dir Problem
- Posted by Nickofurr at aol.com May 21, 2004
- 553 views
-------------------------------1085099464 In a message dated 5/20/2004 8:03:13 PM Eastern Standard Time, guest at RapidEuphoria.com writes: > Also, the way you have it, it will look for data in the current Working > Directory. to remedy this, you should say > dir("..\\data\\*.*") > OR > dir(".\\data\\*.*") These two are different. The two dots return the parent directory, one dot returns the current directory. Irv I know. the one you use depends on what you need. <HTML><HEAD> <META charset=US-ASCII http-equiv=Content-Type content="text/html; charset=US-ASCII"> <META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD> <BODY style="FONT-SIZE: 12pt; FONT-FAMILY: Arial; BACKGROUND-COLOR: #ff0000"> <DIV> <DIV>In a message dated 5/20/2004 8:03:13 PM Eastern Standard Time, guest at RapidEuphoria.com writes:</DIV> <BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: blue 2px solid"><FONT face=Arial>> Also, the way you have it, it will look for data in the current Working <BR>> Directory. to remedy this, you should say <BR>> dir("..\\data\\*.*")<BR>> OR<BR>> dir(".\\data\\*.*")<BR><BR>These two are different. The two dots return the parent directory, one <BR>dot returns the current directory.<BR><BR>Irv</FONT></BLOCKQUOTE></DIV> <DIV><FONT style="BACKGROUND-COLOR: #ff8040" face="Times New Roman" color=#ffff00>I know. the one you use depends on what you need.</FONT></DIV></BODY></HTML>