Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "Hannu E K Nevalainen (garbage mail)" To: Subject: RE: New user / CD installation problems Date: Wed, 19 Mar 2003 09:12:22 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal Importance: Normal In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Hmm... I forgot to mention/clarify these facts: 1) The bat script MUST be run from the dir where you want G:\ to be 2) Use the NON-virtual device to set/reset G:\ (It won't work otherwise) e.g. "cd G:\" followed by "setres_g" won't work. "cd " is a MUST. /Hannu E K Nevalainen, Mariefred, Sweden > --8<--SETRES_G.BAT-- > @echo off > subst | find /C /I "G:" >nul > if not ERRORLEVEL 1 goto found > > subst G: . > goto x > > :found > C:\ > cd \ > subst /D G: > > :x > --8<-- > --END OF MESSAGE-- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/