X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Thorsten Kampe Subject: RE: Re: Cygwin Environment from ThumbDrive Date: Thu, 16 Nov 2006 13:09:45 -0000 Lines: 22 Message-ID: References: <31DDB7BE4BF41D4888D41709C476B6570416935E AT NIHCESMLBX5 DOT nih DOT gov> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit User-Agent: MicroPlanet-Gravity/2.70.2067 X-IsSubscribed: yes 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 * Buchbinder, Barry (NIH/NIAID) [E] (Wed, 15 Nov 2006 13:26:46 -0500) > Thorsten Kampe wrote on Wednesday, November 15, 2006 12:08 PM: > > * Bodger (Tue, 14 Nov 2006 14:16:06 -0800 (PST)) > >> How possible would it be to: > >> 2) With the help of some crafty shell scripts, be available from most > >> Windows boxes by plugging the thumb drive in and running the > >> environment from there? > > > > rem Make cygwin mounts > > mount -fu %~d0\cygwin / > > mount -fu %~d0\cygwin/bin /usr/bin > > mount -fu %~d0\cygwin/lib /usr/lib > > > > mkpasswd -lc > \cygwin\etc\passwd > > mkgroup -lc > \cygwin\etc\group > > "%~d0" does not substitute for me on XP/cmd. How's it supposed to work? It works only in a batch file... (and the batch file has to be on the USB drive) Thorsten -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/