| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| 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)" <garbage_collector AT telia DOT com> |
| To: | <cygwin AT cygwin DOT com> |
| Subject: | RE: New user / CD installation problems |
| Date: | Wed, 19 Mar 2003 09:12:22 +0100 |
| Message-ID: | <NGBBLLIAMFLGJEOAJCCEAEOFCMAA.garbage_collector@telia.com> |
| MIME-Version: | 1.0 |
| X-Priority: | 3 (Normal) |
| X-MSMail-Priority: | Normal |
| Importance: | Normal |
| In-Reply-To: | <NGBBLLIAMFLGJEOAJCCEKEFDCMAA.garbage_collector@telia.com> |
| 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 <G:\ equivalent>" 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |