Re: Current Directory

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

On Fri, 14 Feb 2003 01:45:37 +0000, Pete Lomax <petelomax at blueyonder.co.uk> 
wrote:

>
> Derek,
> I think this is what you want:
>
> integer fn
> fn=open("test.bat","w")
> puts(fn,"cd c:>C:\\temp\\d.txt\ncd D:>>C:\\temp\\d.txt\n")
> close(fn)
> system("test.bat",2)
>
> Now have a look in d.txt.
>
Thanks Pete. --

cheers,
Derek Parnell

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

Search



Quick Links

User menu

Not signed in.

Misc Menu