Help! chdir command
- Posted by tuncaydin6 at tuncaydin6.screaming.net Mar 05, 2001
- 367 views
------=_NextPart_000_002E_01C0A596.C40F7A40 charset="iso-8859-1" Hi!!=20 I have a sequence with 3 or 4 internal sequences. I would like to change the active directory by using one of the URL's in my sequence. eg: paths[6] when I try i =3D chdir(paths[6]) it doesn't do anything when i try i =3D chdir("paths[6]") it doesn't do anything. How can I put info from a sequence into the = chdir command? HELP! Its drivin me crazy. Thanks ------=_NextPart_000_002E_01C0A596.C40F7A40 charset="iso-8859-1" <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 5.50.4611.1300" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>Hi!! </FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>I have a sequence with 3 or 4 internal=20 sequences.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>I would like to change the active = directory by=20 using one of the</FONT></DIV> <DIV><FONT face=3DArial size=3D2>URL's in my sequence.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>eg: paths[6]</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>when I try i =3D = chdir(paths[6])</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>it doesn't do anything</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>when i try</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>i =3D chdir("paths[6]")</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>it doesn't do anything. How can I put = info from a=20 sequence into the chdir command?</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>HELP! Its drivin me crazy.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Thanks</FONT></DIV> ------=_NextPart_000_002E_01C0A596.C40F7A40--