This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: New user / CD installation problems


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]