Re: Dir Problem

new topic     » goto parent     » topic index » view thread      » older message » newer message

-------------------------------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>&gt; Also, the way you have it, it will look for data in
the current Working <BR>&gt; Directory.&nbsp; to remedy this, you should say
<BR>&gt; dir("..\\data\\*.*")<BR>&gt; OR<BR>&gt; 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.&nbsp; the one you use depends on what you
need.</FONT></DIV></BODY></HTML>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu