From: "Al Amzeen (Alexandr Amzin)" Newsgroups: comp.os.msdos.djgpp Subject: Re: How to change drives in BASH Date: Thu, 23 Mar 2000 12:15:07 +0300 Organization: Fidolook Express page http://fidolook.da.ru Lines: 21 Message-ID: <8bcng9$31av$2@gavrilo.mtu.ru> References: <200003230150 DOT GAA00936 AT midpec DOT com> NNTP-Posting-Host: ppp104-200.dialup.mtu-net.ru X-Trace: gavrilo.mtu.ru 953803081 99679 212.188.104.200 (23 Mar 2000 09:18:01 GMT) X-Complaints-To: usenet-abuse AT mtu DOT ru NNTP-Posting-Date: 23 Mar 2000 09:18:01 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Fidolook Express V1.51rus for MS OE 5.0 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com == oneliner:qq is the way of the warrior Greetings, Prashant TR ! You wrote: > I'm wondering how I can change from one drive to another using BASH. Let's > say I'm working in C: and I want to change to D:, how to I do that? Just D: > doesn't work. I'm sure there's something I'm missing here. Could anyone please > let me know? Thanks in advance for any help. I could. Just print: cd c:/ command /c prog.exe First line is changing to disk, second is running your program (assumes 'clean' installtion with only bash.exe in your PATH variable). Al Amzeen.