1. Need help Changing drives

Hi,

 Ive been doing pretty good changing DIR's within my program
Im using to learn Euphoria but cant seem to change drives.

This works:

  x = chdir("c:\\")
  n = current_dir()  --which returns "c:" root dir

but when I try this:

 x = chdir("d:\\")  -- which is my other hard drive
 n = current_dir()  -- I still get "c:" and not "d:"

Is there another command or something that will
let me change drives or am I doing it all wrong? :)

  Thanks
    Gene

new topic     » topic index » view message » categorize

2. Re: Need help Changing drives

----- Original Message -----
From: Gene Mannel <genem2 at GJ.NET>
To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
Sent: Saturday, August 05, 2000 10:40 AM
Subject: Need help Changing drives


> Hi,
>
>  Ive been doing pretty good changing DIR's within my program
> Im using to learn Euphoria but cant seem to change drives.
>
> This works:
>
>   x = chdir("c:\\")
>   n = current_dir()  --which returns "c:" root dir
>
> but when I try this:
>
>  x = chdir("d:\\")  -- which is my other hard drive
>  n = current_dir()  -- I still get "c:" and not "d:"
>
> Is there another command or something that will
> let me change drives or am I doing it all wrong? :)
>
system("D: > nul",1)

Irv

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu