delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/12/12/23:15:09

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
X-Cloudmark-SP-Filtered: true
X-Cloudmark-SP-Result: v=1.0 c=1 a=7GJDkuJjtAsA:10 a=kCKDY91tEBMc+hi4YtGk8Q==:17 a=lFgEbiOTxBje9uNaWtIA:9 a=EdVFmHw0jxy2Pycq8Avv5PVtx8oA:4
Message-ID: <4B246A40.70600@monai.ca>
Date: Sat, 12 Dec 2009 20:14:56 -0800
From: Steven Monai <steve+cygwin AT monai DOT ca>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Change to current directory to %appdata% folder.
References: <b9k8i5tr5k60an3h4semfgihf36n9mil9u AT 4ax DOT com>
In-Reply-To: <b9k8i5tr5k60an3h4semfgihf36n9mil9u@4ax.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

On 2009/12/12 6:29 PM, Hongyi Zhao wrote:
> Hi all,
> 
> I want to change to current directory to %appdata% folder by using
> some command within cygwin.  Is this possible?

This command:

  cd "$APPDATA"

works for me.

HTH,
-SM
--

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019