Re: Current Directory
- Posted by Derek Parnell <ddparnell at bigpond.com> Feb 14, 2003
- 510 views
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