public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* some kind of path problem when running bash script from windows shortcut
@ 2012-03-22 17:22 LMH
  2012-03-22 17:37 ` Adam Dinwoodie
  0 siblings, 1 reply; 7+ messages in thread
From: LMH @ 2012-03-22 17:22 UTC (permalink / raw)
  To: cygwin

I have recently re-installed windows and cygwin, but my old backup 
script won't anymore when I run it from a windows icon. It runs fine if 
I cd to /usr/local/bin and run it from the command line.

When I run it from the shortcut, I get "file not found" for rsync, date, 
unix2dos, and rm. I have temporarily changed the script to use the full 
path for these, /cygdrive/c/cygwin/bin/date.exe instead of date, but I 
have used this setup for a while and I'm not sure what has changed. Am I 
missing an environment variable or something?

I'm not sure if the problem is in windows or cygwin.

This is the version of the script that doesn't work from the shortcut, 
but does work from the command line.

#!/bin/bash

# generic backup function
function backup {
   echo " " >> $1
   echo " " >> $1
   echo "***** new log entry *****" >> $1
   date >> $logfile_path
   rsync -v -a -r -p -b --suffix=.back -E -t --log-file=$1  $2  $3
   unix2dos $1
}

logfile_path="path_to_logfile"
backup_src_path="path_to_backup_src_loc"
backup_destination_path="path_to_dest_loc"
backup $logfile_path  $backup_src_path  $backup_destination_path

The shortcut is set up as,
Target: C:\cygwin\bin\sh.exe /usr/local/bin/backup.sh
Start in: C:\cygwin\bin

Any suggestions?

LMH

--
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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: some kind of path problem when running bash script from windows shortcut
  2012-03-22 17:22 some kind of path problem when running bash script from windows shortcut LMH
@ 2012-03-22 17:37 ` Adam Dinwoodie
  2012-03-22 17:50   ` LMH
  0 siblings, 1 reply; 7+ messages in thread
From: Adam Dinwoodie @ 2012-03-22 17:37 UTC (permalink / raw)
  To: cygwin

LMH wrote:
> When I run it from the shortcut, I get "file not found" for rsync, date,
> unix2dos, and rm. I have temporarily changed the script to use the full
> path for these, /cygdrive/c/cygwin/bin/date.exe instead of date, but I
> have used this setup for a while and I'm not sure what has changed. Am
> I missing an environment variable or something?

Yes.  Make sure your Windows PATH environment variable includes
C:\cygwin\bin, or whatever the equivalent is for your install.

Also, per the FAQ, please remember to include the output from running
`cygcheck -s -v -r`.  That'll let us actually check your environment
variables, for example.

Adam

--
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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: some kind of path problem when running bash script from windows shortcut
  2012-03-22 17:37 ` Adam Dinwoodie
@ 2012-03-22 17:50   ` LMH
  2012-03-22 18:40     ` Adam Dinwoodie
  2012-03-23 14:05     ` Andrey Repin
  0 siblings, 2 replies; 7+ messages in thread
From: LMH @ 2012-03-22 17:50 UTC (permalink / raw)
  To: cygwin

Thanks for the advice. I just ran cygcheck, but I'm supprised that you 
are asking folks to post that. The output contains some personal 
information, such as the computer name and user name, and I'm guessing 
that some folks would rather not post that.

It's a nice list of everything that is currently installed.

I added C:\cygwin\bin to the windows path. I guess I forgot environment 
variables when I did the re-install. One of these days I need to learn 
how to do post install config scripts so I don't have to spend two weeks 
getting my windows the way I want it.

The cygcheck output is below. It looks as if C:\cygwin\bin is in the 
path, but it was definitely not in the path environment variable.

LMH



Cygwin Configuration Diagnostics
Current System Time: Thu Mar 22 18:40:08 2012

Windows XP Professional Ver 5.1 Build 2600 Service Pack 3

Path:   C:\cygwin\usr\local\bin
         C:\cygwin\bin
         C:\WINDOWS\system32
         C:\WINDOWS
         C:\WINDOWS\System32\Wbem
         C:\Program Files\Emergent 5.3.0 (32-bit)\bin

Output from C:\cygwin\bin\id.exe
UID: 1003(basic_user) GID: 513(None)
513(None)             544(Administrators)   545(Users)

SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS

USER = 'basic_user'
PWD = '/home/basic_user'
HOME = '/home/basic_user'

HOMEPATH = '\Documents and Settings\basic_user'
MANPATH = '/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man'
APPDATA = 'C:\Documents and Settings\basic_user\Application Data'
HOSTNAME = 'lmh-q9550-1'
SHELL = '/bin/bash'
TERM = 'xterm'
PROCESSOR_IDENTIFIER = 'x86 Family 6 Model 23 Stepping 10, GenuineIntel'
WINDIR = 'C:\WINDOWS'
OLDPWD = '/cygdrive/c/Documents and Settings/basic_user/Desktop'
USERDOMAIN = 'LMH-Q9550-1'
OS = 'Windows_NT'
ALLUSERSPROFILE = 'C:\Documents and Settings\All Users'
!:: = '::\'
temp = 'C:\DOCUME~1\BASIC_~1\LOCALS~1\Temp'
COMMONPROGRAMFILES = 'C:\Program Files\Common Files'
TMP = '/tmp'
USERNAME = 'basic_user'
PROCESSOR_LEVEL = '6'
FP_NO_HOST_CHECK = 'NO'
SYSTEMDRIVE = 'C:'
LANG = 'en_US.UTF-8'
USERPROFILE = 'C:\Documents and Settings\basic_user'
CLIENTNAME = 'Console'
TZ = 'America/New_York'
PS1 = '\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ '
LOGONSERVER = '\\LMH-Q9550-1'
PROCESSOR_ARCHITECTURE = 'x86'
SHLVL = '1'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
HOMEDRIVE = 'C:'
COMSPEC = 'C:\WINDOWS\system32\cmd.exe'
SYSTEMROOT = 'C:\WINDOWS'
PRINTER = 'HP Photosmart C309a series'
PROCESSOR_REVISION = '170a'
INFOPATH = '/usr/local/info:/usr/share/info:/usr/info:'
PROGRAMFILES = 'C:\Program Files'
NUMBER_OF_PROCESSORS = '4'
SESSIONNAME = 'Console'
COMPUTERNAME = 'LMH-Q9550-1'
_ = '/usr/bin/cygcheck'

HKEY_CURRENT_USER\Software\Cygwin
HKEY_CURRENT_USER\Software\Cygwin\Program Options
HKEY_CURRENT_USER\Software\Cygwin\setup
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Installations
   (default) = '\??\C:\cygwin'
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\setup
   (default) = 'C:\cygwin'

obcaseinsensitive set to 1

Cygwin installations found in the registry:
   System: Key: c5e39b7a9d22bafb Path: C:\cygwin

a:  fd             N/A    N/A
c:  hd  NTFS     57231Mb  45% CP CS UN PA FC     System_Volume
d:  hd  NTFS     10001Mb  21% CP CS UN PA FC     pagefile
e:  hd  NTFS    900000Mb  40% CP CS UN PA FC     Data_Volume
f:  hd  NTFS    943865Mb  55% CP CS UN PA FC     Backup_Volume
g:  cd             N/A    N/A
h:  hd  NTFS     53866Mb  27% CP CS UN PA FC     Share
o:  fd             N/A    N/A
p:  fd             N/A    N/A
q:  fd             N/A    N/A
r:  fd             N/A    N/A
z:  net            N/A    N/A

C:\cygwin        /          system  binary,auto
C:\cygwin\bin    /usr/bin   system  binary,auto
C:\cygwin\lib    /usr/lib   system  binary,auto
cygdrive prefix  /cygdrive  user    binary,auto

Found: C:\cygwin\bin\awk
  -> C:\cygwin\bin\gawk.exe
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cp.exe
Found: C:\cygwin\bin\cpp.exe
  -> C:\cygwin\etc\alternatives\cpp
  -> C:\cygwin\bin\cpp-3.exe
Found: C:\cygwin\bin\crontab.exe
Found: C:\cygwin\bin\find.exe
Found: C:\WINDOWS\system32\find.exe
Warning: C:\cygwin\bin\find.exe hides C:\WINDOWS\system32\find.exe
Found: C:\cygwin\bin\gcc.exe
  -> C:\cygwin\etc\alternatives\gcc
  -> C:\cygwin\bin\gcc-3.exe
Found: C:\cygwin\bin\gdb.exe
Found: C:\cygwin\bin\grep.exe
Found: C:\cygwin\bin\kill.exe
Found: C:\cygwin\bin\ld.exe
Found: C:\cygwin\bin\ls.exe
Found: C:\cygwin\bin\make.exe
Found: C:\cygwin\bin\mv.exe
Not Found: patch
Found: C:\cygwin\bin\perl.exe
Found: C:\cygwin\bin\rm.exe
Found: C:\cygwin\bin\sed.exe
Found: C:\cygwin\bin\ssh.exe
Found: C:\cygwin\bin\sh.exe
Found: C:\cygwin\bin\tar.exe
Found: C:\cygwin\bin\test.exe
Found: C:\cygwin\bin\vi
  -> C:\cygwin\bin\vim-nox.exe
Found: C:\cygwin\bin\vim
  -> C:\cygwin\etc\alternatives\vim
  -> C:\cygwin\bin\vim-nox.exe

    15k 2009/12/27 C:\cygwin\bin\cygattr-1.dll - os=4.0 img=1.0 sys=4.0
                   "cygattr-1.dll" v0.0 ts=2009/11/18 12:52
    62k 2011/05/21 C:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
                   "cygbz2-1.dll" v0.0 ts=2011/5/21 20:16
   678k 2010/12/29 C:\cygwin\bin\cygcairo-2.dll - os=4.0 img=1.0 sys=4.0
                   "cygcairo-2.dll" v0.0 ts=2010/12/29 6:16
    20k 2010/12/29 C:\cygwin\bin\cygcairo-gobject-2.dll - os=4.0 img=1.0 
sys=4.0
                   "cygcairo-gobject-2.dll" v0.0 ts=2010/12/29 6:17
    98k 2010/12/29 C:\cygwin\bin\cygcairo-script-interpreter-2.dll - 
os=4.0 img=1.0 sys=4.0
                   "cygcairo-script-interpreter-2.dll" v0.0 
ts=2010/12/29 6:17
    10k 2011/01/25 C:\cygwin\bin\cygcatgets1.dll - os=4.0 img=1.0 sys=4.0
                   "cygcatgets1.dll" v0.0 ts=2011/1/25 10:55
     7k 2003/10/19 C:\cygwin\bin\cygcrypt-0.dll - os=4.0 img=1.0 sys=4.0
                   "cygcrypt-0.dll" v0.0 ts=2003/10/19 8:57
  1244k 2012/01/18 C:\cygwin\bin\cygcrypto-0.9.8.dll - os=4.0 img=1.0 
sys=4.0
                   "cygcrypto-0.9.8.dll" v0.0 ts=2012/1/18 15:40
    17k 2011/10/02 C:\cygwin\bin\cygdatrie-1.dll - os=4.0 img=1.0 sys=4.0
                   "cygdatrie-1.dll" v0.0 ts=2011/10/3 0:13
   929k 2011/11/10 C:\cygwin\bin\cygdb-4.5.dll - os=4.0 img=1.0 sys=4.0
                   "cygdb-4.5.dll" v0.0 ts=2011/11/10 19:52
  1284k 2011/11/10 C:\cygwin\bin\cygdb-4.8.dll - os=4.0 img=1.0 sys=4.0
                   "cygdb-4.8.dll" v0.0 ts=2011/11/10 18:45
   219k 2011/10/03 C:\cygwin\bin\cygdbus-1-3.dll - os=4.0 img=1.0 sys=4.0
                   "cygdbus-1-3.dll" v0.0 ts=2011/10/3 6:10
    93k 2011/11/10 C:\cygwin\bin\cygdb_cxx-4.5.dll - os=4.0 img=1.0 sys=4.0
                   "cygdb_cxx-4.5.dll" v0.0 ts=2011/11/10 19:53
   105k 2011/11/10 C:\cygwin\bin\cygdb_cxx-4.8.dll - os=4.0 img=1.0 sys=4.0
                   "cygdb_cxx-4.8.dll" v0.0 ts=2011/11/10 18:46
   511k 2010/06/17 C:\cygwin\bin\cygedit-0.dll - os=4.0 img=1.0 sys=4.0
                   "cygedit-0.dll" v0.0 ts=2010/6/17 12:42
   118k 2008/05/09 C:\cygwin\bin\cygexpat-1.dll - os=4.0 img=1.0 sys=4.0
                   "cygexpat-1.dll" v0.0 ts=2008/5/9 5:03
    29k 2010/05/12 C:\cygwin\bin\cygfam-0.dll - os=4.0 img=1.0 sys=4.0
                   "cygfam-0.dll" v0.0 ts=2010/5/12 11:26
    21k 2011/10/26 C:\cygwin\bin\cygffi-4.dll - os=4.0 img=1.0 sys=4.0
                   "cygffi-4.dll" v0.0 ts=2011/10/23 14:33
   176k 2010/01/29 C:\cygwin\bin\cygfontconfig-1.dll - os=4.0 img=1.0 
sys=4.0
                   "cygfontconfig-1.dll" v0.0 ts=2010/1/28 22:12
    43k 2010/01/02 C:\cygwin\bin\cygform-10.dll - os=4.0 img=1.0 sys=4.0
                   "cygform-10.dll" v0.0 ts=2010/1/2 14:49
    43k 2009/11/20 C:\cygwin\bin\cygform-9.dll - os=4.0 img=1.0 sys=4.0
                   "cygform-9.dll" v0.0 ts=2009/11/20 19:14
    47k 2010/01/02 C:\cygwin\bin\cygformw-10.dll - os=4.0 img=1.0 sys=4.0
                   "cygformw-10.dll" v0.0 ts=2010/1/2 17:31
   500k 2011/10/19 C:\cygwin\bin\cygfreetype-6.dll - os=4.0 img=1.0 sys=4.0
                   "cygfreetype-6.dll" v0.0 ts=2011/10/19 5:40
    79k 2011/10/26 C:\cygwin\bin\cyggcc_s-1.dll - os=4.0 img=1.0 sys=4.0
                   "cyggcc_s-1.dll" v0.0 ts=2011/10/23 14:15
   449k 2011/05/20 C:\cygwin\bin\cyggcrypt-11.dll - os=4.0 img=1.0 sys=4.0
                   "cyggcrypt-11.dll" v0.0 ts=2011/5/20 3:29
    19k 2009/02/26 C:\cygwin\bin\cyggdbm-4.dll - os=4.0 img=1.0 sys=4.0
                   "cyggdbm-4.dll" v0.0 ts=2009/2/26 7:58
     8k 2009/02/26 C:\cygwin\bin\cyggdbm_compat-4.dll - os=4.0 img=1.0 
sys=4.0
                   "cyggdbm_compat-4.dll" v0.0 ts=2009/2/26 7:58
   713k 2011/10/26 C:\cygwin\bin\cyggfortran-3.dll - os=4.0 img=1.0 sys=4.0
                   "cyggfortran-3.dll" v0.0 ts=2011/10/23 15:15
  1024k 2011/11/16 C:\cygwin\bin\cyggio-2.0-0.dll - os=4.0 img=1.0 sys=4.0
                   "cyggio-2.0-0.dll" v0.0 ts=2011/11/16 0:23
   846k 2011/11/16 C:\cygwin\bin\cygglib-2.0-0.dll - os=4.0 img=1.0 sys=4.0
                   "cygglib-2.0-0.dll" v0.0 ts=2011/11/16 0:16
    12k 2011/11/16 C:\cygwin\bin\cyggmodule-2.0-0.dll - os=4.0 img=1.0 
sys=4.0
                   "cyggmodule-2.0-0.dll" v0.0 ts=2011/11/16 0:19
   317k 2011/07/31 C:\cygwin\bin\cyggmp-3.dll - os=4.0 img=1.0 sys=4.0
                   "cyggmp-3.dll" v0.0 ts=2011/7/31 6:14
   614k 2011/11/15 C:\cygwin\bin\cyggnutls-26.dll - os=4.0 img=1.0 sys=4.0
                   "cyggnutls-26.dll" v0.0 ts=2011/11/15 7:02
    21k 2011/11/15 C:\cygwin\bin\cyggnutls-extra-26.dll - os=4.0 img=1.0 
sys=4.0
                   "cyggnutls-extra-26.dll" v0.0 ts=2011/11/15 7:02
    24k 2011/11/15 C:\cygwin\bin\cyggnutls-openssl-27.dll - os=4.0 
img=1.0 sys=4.0
                   "cyggnutls-openssl-27.dll" v0.0 ts=2011/11/15 7:03
    52k 2011/11/15 C:\cygwin\bin\cyggnutlsxx-27.dll - os=4.0 img=1.0 sys=4.0
                   "cyggnutlsxx-27.dll" v0.0 ts=2011/11/15 7:02
   267k 2011/11/16 C:\cygwin\bin\cyggobject-2.0-0.dll - os=4.0 img=1.0 
sys=4.0
                   "cyggobject-2.0-0.dll" v0.0 ts=2011/11/16 0:20
    42k 2011/10/26 C:\cygwin\bin\cyggomp-1.dll - os=4.0 img=1.0 sys=4.0
                   "cyggomp-1.dll" v0.0 ts=2011/10/23 14:21
    14k 2011/05/20 C:\cygwin\bin\cyggpg-error-0.dll - os=4.0 img=1.0 sys=4.0
                   "cyggpg-error-0.dll" v0.0 ts=2011/5/20 3:04
    14k 2011/11/16 C:\cygwin\bin\cyggthread-2.0-0.dll - os=4.0 img=1.0 
sys=4.0
                   "cyggthread-2.0-0.dll" v0.0 ts=2011/11/16 0:19
    25k 2011/01/26 C:\cygwin\bin\cyghistory7.dll - os=4.0 img=1.0 sys=4.0
                   "cyghistory7.dll" v0.0 ts=2011/1/26 3:25
    74k 2010/10/31 C:\cygwin\bin\cygICE-6.dll - os=4.0 img=1.0 sys=4.0
                   "cygICE-6.dll" v0.0 ts=2010/10/31 20:18
   358k 2012/02/09 C:\cygwin\bin\cygicons-0.dll - os=4.0 img=1.4 sys=4.0
                   "cygicons-0.dll" v0.0 ts=2012/2/9 6:47
   985k 2011/10/16 C:\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
                   "cygiconv-2.dll" v0.0 ts=2011/10/16 18:01
     0k 2012/03/02 C:\cygwin\bin\cygicudata.dll - os=6335.30660 
img=63848.34 sys=12312.36
17852k 2011/07/26 C:\cygwin\bin\cygicudata48.dll - os=4.0 img=1.0 sys=4.0
                   "cygicudata48.dll" v0.0 ts=2011/7/26 12:36
     0k 2012/03/02 C:\cygwin\bin\cygicui18n.dll - os=6335.30660 
img=63848.34 sys=12312.36
  1809k 2011/07/26 C:\cygwin\bin\cygicui18n48.dll - os=4.0 img=1.0 sys=4.0
                   "cygicui18n48.dll" v0.0 ts=2011/7/26 11:53
     0k 2012/03/02 C:\cygwin\bin\cygicuio.dll - os=6335.30660 
img=63848.34 sys=12312.36
    35k 2011/07/26 C:\cygwin\bin\cygicuio48.dll - os=4.0 img=1.0 sys=4.0
                   "cygicuio48.dll" v0.0 ts=2011/7/26 11:56
     0k 2012/03/02 C:\cygwin\bin\cygicule.dll - os=6335.30660 
img=63848.34 sys=12312.36
   233k 2011/07/26 C:\cygwin\bin\cygicule48.dll - os=4.0 img=1.0 sys=4.0
                   "cygicule48.dll" v0.0 ts=2011/7/26 11:53
     0k 2012/03/02 C:\cygwin\bin\cygiculx.dll - os=6335.30660 
img=63848.34 sys=12312.36
    42k 2011/07/26 C:\cygwin\bin\cygiculx48.dll - os=4.0 img=1.0 sys=4.0
                   "cygiculx48.dll" v0.0 ts=2011/7/26 11:54
     0k 2012/03/02 C:\cygwin\bin\cygicutest.dll - os=6335.30660 
img=63848.34 sys=12312.36
    51k 2011/07/26 C:\cygwin\bin\cygicutest48.dll - os=4.0 img=1.0 sys=4.0
                   "cygicutest48.dll" v0.0 ts=2011/7/26 11:54
     0k 2012/03/02 C:\cygwin\bin\cygicuuc.dll - os=6335.30660 
img=63848.34 sys=12312.36
  1238k 2011/07/26 C:\cygwin\bin\cygicuuc48.dll - os=4.0 img=1.0 sys=4.0
                   "cygicuuc48.dll" v0.0 ts=2011/7/26 11:50
   190k 2011/11/16 C:\cygwin\bin\cygidn-11.dll - os=4.0 img=1.0 sys=4.0
                   "cygidn-11.dll" v0.0 ts=2011/11/16 14:51
    31k 2005/11/20 C:\cygwin\bin\cygintl-3.dll - os=4.0 img=1.0 sys=4.0
                   "cygintl-3.dll" v0.0 ts=2005/11/20 2:04
    35k 2011/10/16 C:\cygwin\bin\cygintl-8.dll - os=4.0 img=1.0 sys=4.0
                   "cygintl-8.dll" v0.0 ts=2011/10/16 6:38
    47k 2009/12/23 C:\cygwin\bin\cygjbig-2.dll - os=4.0 img=1.0 sys=4.0
                   "cygjbig-2.dll" v0.0 ts=2009/12/23 16:59
   200k 2010/08/09 C:\cygwin\bin\cygjpeg-8.dll - os=4.0 img=1.0 sys=4.0
                   "cygjpeg-8.dll" v0.0 ts=2010/8/9 8:02
     5k 2012/02/24 C:\cygwin\bin\cyglsa.dll - os=4.0 img=1.0 sys=4.0
                   "cyglsa.dll" v0.0 ts=2012/2/24 13:06
     9k 2012/02/24 C:\cygwin\bin\cyglsa64.dll - os=5.2 img=0.0 sys=5.2
   123k 2011/05/19 C:\cygwin\bin\cyglzma-5.dll - os=4.0 img=1.0 sys=4.0
                   "cyglzma-5.dll" v0.0 ts=2011/5/19 3:41
   116k 2011/11/16 C:\cygwin\bin\cyglzo2-2.dll - os=4.0 img=1.0 sys=4.0
                   "cyglzo2-2.dll" v0.0 ts=2011/11/16 22:27
    99k 2011/11/02 C:\cygwin\bin\cygmagic-1.dll - os=4.0 img=1.0 sys=4.0
                   "cygmagic-1.dll" v0.0 ts=2011/11/2 23:05
   146k 2010/05/19 C:\cygwin\bin\cygmcrypt-4.dll - os=4.0 img=1.0 sys=4.0
                   "cygmcrypt-4.dll" v0.0 ts=2010/5/19 23:28
    25k 2010/01/02 C:\cygwin\bin\cygmenu-10.dll - os=4.0 img=1.0 sys=4.0
                   "cygmenu-10.dll" v0.0 ts=2010/1/2 14:48
    25k 2009/11/20 C:\cygwin\bin\cygmenu-9.dll - os=4.0 img=1.0 sys=4.0
                   "cygmenu-9.dll" v0.0 ts=2009/11/20 19:13
    25k 2010/01/02 C:\cygwin\bin\cygmenuw-10.dll - os=4.0 img=1.0 sys=4.0
                   "cygmenuw-10.dll" v0.0 ts=2010/1/2 17:30
   222k 2005/05/28 C:\cygwin\bin\cygmhash-2.dll - os=4.0 img=1.0 sys=4.0
                   "cygmhash-2.dll" v0.0 ts=2005/5/28 10:40
   213k 2011/07/31 C:\cygwin\bin\cygmp-3.dll - os=4.0 img=1.0 sys=4.0
                   "cygmp-3.dll" v0.0 ts=2011/7/31 6:12
    77k 2010/01/21 C:\cygwin\bin\cygMrm-2.dll - os=4.0 img=1.0 sys=4.0
                   "cygMrm-2.dll" v0.0 ts=2010/1/21 7:33
    63k 2010/01/02 C:\cygwin\bin\cygncurses++-10.dll - os=4.0 img=1.0 
sys=4.0
                   "cygncurses++-10.dll" v0.0 ts=2010/1/2 15:00
    63k 2009/11/20 C:\cygwin\bin\cygncurses++-9.dll - os=4.0 img=1.0 sys=4.0
                   "cygncurses++-9.dll" v0.0 ts=2009/11/20 19:25
    63k 2010/01/02 C:\cygwin\bin\cygncurses++w-10.dll - os=4.0 img=1.0 
sys=4.0
                   "cygncurses++w-10.dll" v0.0 ts=2010/1/2 17:41
   195k 2010/01/02 C:\cygwin\bin\cygncurses-10.dll - os=4.0 img=1.0 sys=4.0
                   "cygncurses-10.dll" v0.0 ts=2010/1/2 14:45
   198k 2009/11/20 C:\cygwin\bin\cygncurses-9.dll - os=4.0 img=1.0 sys=4.0
                   "cygncurses-9.dll" v0.0 ts=2009/11/20 19:10
   244k 2010/01/02 C:\cygwin\bin\cygncursesw-10.dll - os=4.0 img=1.0 sys=4.0
                   "cygncursesw-10.dll" v0.0 ts=2010/1/2 17:28
    13k 2010/01/02 C:\cygwin\bin\cygpanel-10.dll - os=4.0 img=1.0 sys=4.0
                   "cygpanel-10.dll" v0.0 ts=2010/1/2 14:47
    13k 2009/11/20 C:\cygwin\bin\cygpanel-9.dll - os=4.0 img=1.0 sys=4.0
                   "cygpanel-9.dll" v0.0 ts=2009/11/20 19:12
    13k 2010/01/02 C:\cygwin\bin\cygpanelw-10.dll - os=4.0 img=1.0 sys=4.0
                   "cygpanelw-10.dll" v0.0 ts=2010/1/2 16:30
   236k 2011/12/05 C:\cygwin\bin\cygpango-1.0-0.dll - os=4.0 img=1.0 sys=4.0
                   "cygpango-1.0-0.dll" v0.0 ts=2011/12/5 0:21
    37k 2011/12/05 C:\cygwin\bin\cygpangocairo-1.0-0.dll - os=4.0 
img=1.0 sys=4.0
                   "cygpangocairo-1.0-0.dll" v0.0 ts=2011/12/5 0:22
   188k 2011/12/05 C:\cygwin\bin\cygpangoft2-1.0-0.dll - os=4.0 img=1.0 
sys=4.0
                   "cygpangoft2-1.0-0.dll" v0.0 ts=2011/12/5 0:21
   110k 2011/12/05 C:\cygwin\bin\cygpangox-1.0-0.dll - os=4.0 img=1.0 
sys=4.0
                   "cygpangox-1.0-0.dll" v0.0 ts=2011/12/5 0:21
    24k 2011/12/05 C:\cygwin\bin\cygpangoxft-1.0-0.dll - os=4.0 img=1.0 
sys=4.0
                   "cygpangoxft-1.0-0.dll" v0.0 ts=2011/12/5 0:22
     9k 2010/10/08 C:\cygwin\bin\cygpaper-1.dll - os=4.0 img=1.0 sys=4.0
                   "cygpaper-1.dll" v0.0 ts=2010/10/8 5:56
   255k 2012/02/10 C:\cygwin\bin\cygpcre-0.dll - os=4.0 img=1.0 sys=4.0
                   "cygpcre-0.dll" v0.0 ts=2012/2/10 10:24
  1627k 2010/08/29 C:\cygwin\bin\cygperl5_10.dll - os=4.0 img=1.0 sys=4.0
                   "cygperl5_10.dll" v0.0 ts=2010/8/28 19:17
   428k 2011/08/22 C:\cygwin\bin\cygpixman-1-0.dll - os=4.0 img=1.0 sys=4.0
                   "cygpixman-1-0.dll" v0.0 ts=2011/8/22 9:39
   129k 2011/07/28 C:\cygwin\bin\cygpng14-14.dll - os=4.0 img=1.0 sys=4.0
                   "cygpng14-14.dll" v0.0 ts=2011/7/28 6:55
    22k 2002/06/09 C:\cygwin\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0
                   "cygpopt-0.dll" v0.0 ts=2002/6/9 6:45
   164k 2011/01/26 C:\cygwin\bin\cygreadline7.dll - os=4.0 img=1.0 sys=4.0
                   "cygreadline7.dll" v0.0 ts=2011/1/26 3:25
   751k 2012/02/28 C:\cygwin\bin\cygruby18.dll - os=4.0 img=1.0 sys=4.0
                   "cygruby18.dll" v0.0 ts=2012/2/28 6:30
     8k 2011/05/05 C:\cygwin\bin\cygsigsegv-2.dll - os=4.0 img=1.0 sys=4.0
                   "cygsigsegv-2.dll" v0.0 ts=2011/5/5 8:33
    25k 2010/10/31 C:\cygwin\bin\cygSM-6.dll - os=4.0 img=1.0 sys=4.0
                   "cygSM-6.dll" v0.0 ts=2010/10/31 20:24
  1613k 2010/12/01 C:\cygwin\bin\cygsqlite3-0.dll - os=4.0 img=1.0 sys=4.0
                   "cygsqlite3-0.dll" v0.0 ts=2010/12/1 12:20
   281k 2012/01/18 C:\cygwin\bin\cygssl-0.9.8.dll - os=4.0 img=1.0 sys=4.0
                   "cygssl-0.9.8.dll" v0.0 ts=2012/1/18 15:40
     8k 2011/10/26 C:\cygwin\bin\cygssp-0.dll - os=4.0 img=1.0 sys=4.0
                   "cygssp-0.dll" v0.0 ts=2011/10/23 14:33
   780k 2011/10/26 C:\cygwin\bin\cygstdc++-6.dll - os=4.0 img=1.0 sys=4.0
                   "cygstdc++-6.dll" v0.0 ts=2011/10/23 14:58
   228k 2012/02/02 C:\cygwin\bin\cygt1-5.dll - os=4.0 img=1.0 sys=4.0
                   "cygt1-5.dll" v0.0 ts=2012/2/2 13:17
    58k 2011/11/14 C:\cygwin\bin\cygtasn1-3.dll - os=4.0 img=1.0 sys=4.0
                   "cygtasn1-3.dll" v0.0 ts=2011/11/14 19:35
    26k 2011/10/04 C:\cygwin\bin\cygthai-0.dll - os=4.0 img=1.0 sys=4.0
                   "cygthai-0.dll" v0.0 ts=2011/10/4 21:22
    48k 2010/01/02 C:\cygwin\bin\cygtic-10.dll - os=4.0 img=1.0 sys=4.0
                   "cygtic-10.dll" v0.0 ts=2010/1/2 14:45
    48k 2009/11/20 C:\cygwin\bin\cygtic-9.dll - os=4.0 img=1.0 sys=4.0
                   "cygtic-9.dll" v0.0 ts=2009/11/20 19:10
    48k 2010/01/02 C:\cygwin\bin\cygticw-10.dll - os=4.0 img=1.0 sys=4.0
                   "cygticw-10.dll" v0.0 ts=2010/1/2 17:28
   347k 2011/04/08 C:\cygwin\bin\cygtiff-5.dll - os=4.0 img=1.0 sys=4.0
                   "cygtiff-5.dll" v0.0 ts=2011/4/8 2:27
     9k 2011/04/08 C:\cygwin\bin\cygtiffxx-5.dll - os=4.0 img=1.0 sys=4.0
                   "cygtiffxx-5.dll" v0.0 ts=2011/4/8 2:27
    68k 2010/01/21 C:\cygwin\bin\cygUil-2.dll - os=4.0 img=1.0 sys=4.0
                   "cygUil-2.dll" v0.0 ts=2010/1/21 7:33
    73k 2011/08/16 C:\cygwin\bin\cygusb-1.0.dll - os=4.0 img=1.0 sys=4.0
                   "cygusb-1.0.dll" v0.0 ts=2011/8/16 21:45
    13k 2012/02/29 C:\cygwin\bin\cyguuid-1.dll - os=4.0 img=1.0 sys=4.0
                   "cyguuid-1.dll" v0.0 ts=2012/2/29 3:56
    28k 2010/03/28 C:\cygwin\bin\cygwrap-0.dll - os=4.0 img=1.0 sys=4.0
                   "cygwrap-0.dll" v0.0 ts=2010/3/28 10:02
  1045k 2011/08/22 C:\cygwin\bin\cygX11-6.dll - os=4.0 img=1.0 sys=4.0
                   "cygX11-6.dll" v0.0 ts=2011/8/22 9:25
    11k 2010/08/03 C:\cygwin\bin\cygXau-6.dll - os=4.0 img=1.0 sys=4.0
                   "cygXau-6.dll" v0.0 ts=2010/8/3 1:32
    75k 2010/12/21 C:\cygwin\bin\cygxcb-1.dll - os=4.0 img=1.0 sys=4.0
                   "cygxcb-1.dll" v0.0 ts=2010/12/21 1:36
    22k 2010/12/21 C:\cygwin\bin\cygxcb-render-0.dll - os=4.0 img=1.0 
sys=4.0
                   "cygxcb-render-0.dll" v0.0 ts=2010/12/21 1:36
     8k 2010/12/21 C:\cygwin\bin\cygxcb-shm-0.dll - os=4.0 img=1.0 sys=4.0
                   "cygxcb-shm-0.dll" v0.0 ts=2010/12/21 1:36
    17k 2010/10/31 C:\cygwin\bin\cygXdmcp-6.dll - os=4.0 img=1.0 sys=4.0
                   "cygXdmcp-6.dll" v0.0 ts=2010/10/31 20:29
    52k 2011/05/23 C:\cygwin\bin\cygXext-6.dll - os=4.0 img=1.0 sys=4.0
                   "cygXext-6.dll" v0.0 ts=2011/5/23 9:32
    66k 2010/11/01 C:\cygwin\bin\cygXft-2.dll - os=4.0 img=1.0 sys=4.0
                   "cygXft-2.dll" v0.0 ts=2010/11/1 2:10
  1173k 2010/01/21 C:\cygwin\bin\cygXm-2.dll - os=4.0 img=1.0 sys=4.0
                   "cygXm-2.dll" v0.0 ts=2010/1/21 7:32
    75k 2010/11/01 C:\cygwin\bin\cygXmu-6.dll - os=4.0 img=1.0 sys=4.0
                   "cygXmu-6.dll" v0.0 ts=2010/11/1 2:19
    32k 2010/08/03 C:\cygwin\bin\cygXrender-1.dll - os=4.0 img=1.0 sys=4.0
                   "cygXrender-1.dll" v0.0 ts=2010/8/3 5:48
    10k 2009/10/14 C:\cygwin\bin\cygXss-1.dll - os=4.0 img=1.0 sys=4.0
                   "cygXss-1.dll" v0.0 ts=2009/10/14 17:43
   278k 2011/06/07 C:\cygwin\bin\cygXt-6.dll - os=4.0 img=1.0 sys=4.0
                   "cygXt-6.dll" v0.0 ts=2011/6/7 4:40
    76k 2010/08/01 C:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
                   "cygz.dll" v0.0 ts=2010/8/1 22:04
  2748k 2012/02/24 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                   "cygwin1.dll" v0.0 ts=2012/2/24 13:05
     Cygwin DLL version info:
         DLL version: 1.7.11
         DLL epoch: 19
         DLL old termios: 5
         DLL malloc env: 28
         Cygwin conv: 181
         API major: 0
         API minor: 260
         Shared data: 5
         DLL identifier: cygwin1
         Mount registry: 3
         Cygwin registry name: Cygwin
         Program options name: Program Options
         Installations name: Installations
         Cygdrive default prefix:
         Build date:
         Shared id: cygwin1S5


No Cygwin services found.


Cygwin Package Information
Last downloaded files to: C:\cygwin_install
Last downloaded files from: http://mirror.cs.vt.edu/pub/cygwin/cygwin/

Package                   Version                 Status
_update-info-dir          01016-1                 OK
alternatives              1.3.30c-10              OK
base-cygwin               3.0-1                   OK
base-files                4.1-1                   OK
bash                      4.1.10-4                OK
bcrypt                    1.1-1                   OK
binutils                  2.22.51-1               OK
bzip2                     1.0.6-2                 OK
ccrypt                    1.7-1                   OK
coreutils                 8.15-1                  OK
cron                      4.1-59                  OK
crypt                     1.1-1                   OK
csih                      0.9.5-1                 OK
cygrunsrv                 1.36-1                  OK
cygutils                  1.4.8-1                 OK
cygwin                    1.7.11-1                OK
cygwin-doc                1.7-1                   OK
dash                      0.5.7-1                 OK
dbus                      1.4.16-1                OK
diffutils                 2.9-1                   OK
dos2unix                  5.3.2-1                 OK
editrights                1.01-2                  OK
file                      5.09-1                  OK
findutils                 4.5.9-2                 OK
gamin                     0.1.10-11               OK
gawk                      4.0.0-1                 OK
gcc-core                  3.4.4-999               OK
gcc-g++                   3.4.4-999               OK
gcc-g77                   3.4.4-999               OK
gcc-mingw-core            20050522-3              OK
gcc-mingw-g++             20050522-3              OK
gcc-mingw-g77             20050522-3              OK
gdb                       7.3.50-3                OK
gettext                   0.18.1.1-2              OK
grep                      2.6.3-1                 OK
groff                     1.20.1-2                OK
gsettings-desktop-schemas 3.2.0-1                 OK
gzip                      1.4-1                   OK
ipc-utils                 1.0-1                   OK
less                      444-1                   OK
libattr1                  2.4.43-1                OK
libbz2_1                  1.0.6-2                 OK
libcairo2                 1.10.2-1                OK
libcatgets1               1.1-1                   OK
libdatrie1                0.2.4-1                 OK
libdb4.5                  4.5.20.2-3              OK
libdb4.8                  4.8.30-1                OK
libdbus1_3                1.4.16-1                OK
libedit0                  20090923-1              OK
libexpat1                 2.0.1-1                 OK
libfam0                   0.1.10-11               OK
libffi4                   4.5.3-3                 OK
libfontconfig1            2.8.0-1                 OK
libfreetype6              2.4.7-1                 OK
libgcc1                   4.5.3-3                 OK
libgcrypt11               1.4.6-1                 OK
libgdbm4                  1.8.3-20                OK
libgfortran3              4.5.3-3                 OK
libglib2.0_0              2.30.2-1                OK
libgmp3                   4.3.2-1                 OK
libgnutls26               2.12.14-1               OK
libgomp1                  4.5.3-3                 OK
libgpg-error0             1.10-1                  OK
libICE6                   1.0.7-1                 OK
libiconv2                 1.14-2                  OK
libicu48                  4.8.1-1                 OK
libidn11                  1.22-1                  OK
libintl3                  0.14.5-1                OK
libintl8                  0.18.1.1-2              OK
libjbig2                  2.0-11                  OK
libjpeg8                  8b-1                    OK
liblzma5                  5.0.2_20110517-1        OK
liblzo2_2                 2.06-1                  OK
libmcrypt4                2.5.8-10                OK
libncurses10              5.7-18                  OK
libncurses9               5.7-16                  OK
libncursesw10             5.7-18                  OK
libopenssl098             0.9.8t-1                OK
libpango1.0_0             1.29.4-2                OK
libpaper-bin              1.1.24-1                OK
libpaper1                 1.1.24-1                OK
libpcre0                  8.21-2                  OK
libpixman1_0              0.22.2-1                OK
libpng14                  1.4.8-1                 OK
libpopt0                  1.6.4-4                 OK
libreadline7              6.1.2-2                 OK
libsigsegv2               2.10-1                  OK
libSM6                    1.2.0-1                 OK
libsqlite3_0              3.7.3-1                 OK
libssp0                   4.5.3-3                 OK
libstdc++6                4.5.3-3                 OK
libtasn1_3                2.10-1                  OK
libthai0                  0.1.15-1                OK
libtiff5                  3.9.4-1                 OK
libusb1.0                 1.0.8+git20110720-1     OK
libusb1.0-devel           1.0.8+git20110720-1     OK
libuuid1                  2.21-1                  OK
libwrap0                  7.6-21                  OK
libX11_6                  1.4.4-1                 OK
libXau6                   1.0.6-1                 OK
libxcb-render0            1.7-2                   OK
libxcb-shm0               1.7-2                   OK
libxcb1                   1.7-2                   OK
libXdmcp6                 1.1.0-1                 OK
libXext6                  1.3.0-1                 OK
libXft2                   2.2.0-1                 OK
libXm2                    0.95.2-2                OK
libXmu6                   1.1.0-1                 OK
libXrender1               0.9.6-1                 OK
libXss1                   1.2.0-1                 OK
libXt6                    1.1.1-1                 OK
login                     1.10-10                 OK
make                      3.82.90-1               OK
man                       1.6g-1                  OK
mcrypt                    2.6.8-1                 OK
mhash                     0.9.2-1                 OK
mingw-runtime             3.20-1                  OK
mingw-w32api              3.17-2                  OK
mintty                    1.0.3-1                 OK
openssh                   5.9p1-1                 OK
openssl                   0.9.8t-1                OK
perl                      5.10.1-5                OK
ping                      1.0-1                   OK
python                    2.6.7-1                 OK
R                         2.14.1-2                OK
rebase                    4.0.1-1                 OK
rsync                     3.0.9-1                 OK
ruby                      1.8.7-p358-1            OK
run                       1.1.13-1                OK
sed                       4.2.1-1                 OK
shutdown                  1.7-1                   OK
t1lib5                    5.1.2-11                OK
tar                       1.25-1                  OK
tcl                       8.5.11-1                OK
tcl-tk                    8.5.11-1                OK
tcsh                      6.18.00-3               OK
terminfo                  5.7_20091114-14         OK
texinfo                   4.13-4                  OK
time                      1.7-2                   OK
tzcode                    2010j-1                 OK
unzip                     6.0-10                  OK
vim                       7.3.447-1               OK
vim-common                7.3.447-1               OK
w32api                    3.17-2                  OK
wget                      1.13.4-1                OK
which                     2.20-2                  OK
whois                     5.0.11-1                OK
xpdf                      3.02-10                 OK
xxd                       7.3.447-1               OK
xz                        5.0.2_20110517-1        OK
zip                       3.0-11                  OK
zlib                      1.2.5-1                 OK
zlib-devel                1.2.5-1                 OK
zlib0                     1.2.5-1                 OK
zsync                     0.6.2-1                 OK
Use -h to see help about each section
cygcheck: dump_sysinfo: GetVolumeInformation() for drive Z: failed: 2


Adam Dinwoodie wrote:
> LMH wrote:
>> When I run it from the shortcut, I get "file not found" for rsync, date,
>> unix2dos, and rm. I have temporarily changed the script to use the full
>> path for these, /cygdrive/c/cygwin/bin/date.exe instead of date, but I
>> have used this setup for a while and I'm not sure what has changed. Am
>> I missing an environment variable or something?
>
> Yes.  Make sure your Windows PATH environment variable includes
> C:\cygwin\bin, or whatever the equivalent is for your install.
>
> Also, per the FAQ, please remember to include the output from running
> `cygcheck -s -v -r`.  That'll let us actually check your environment
> variables, for example.
>
> Adam
>
> --
> 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
>
>

--
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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: some kind of path problem when running bash script from windows shortcut
  2012-03-22 17:50   ` LMH
@ 2012-03-22 18:40     ` Adam Dinwoodie
  2012-03-22 18:47       ` LMH
  2012-03-23 14:05     ` Andrey Repin
  1 sibling, 1 reply; 7+ messages in thread
From: Adam Dinwoodie @ 2012-03-22 18:40 UTC (permalink / raw)
  To: cygwin

LMH wrote:
> Thanks for the advice. I just ran cygcheck, but I'm supprised that you
> are asking folks to post that. The output contains some personal
> information, such as the computer name and user name, and I'm guessing
> that some folks would rather not post that.

You _did_ read the [problem reporting guidelines][0] before posting here,
right?  Like the bits that say "include that file as *an attachment*"
(emphasis original) and "it is ok to redact sensitive information"?

[0]: http://cygwin.com/problems.html

> I added C:\cygwin\bin to the windows path. I guess I forgot environment
> variables when I did the re-install. One of these days I need to learn
> how to do post install config scripts so I don't have to spend two weeks
> getting my windows the way I want it.

So did it work?  If it did, I don't really care about the cygcheck output
any more.  If it didn't, I need to know that to be able to help.

Adam

--
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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: some kind of path problem when running bash script from windows shortcut
  2012-03-22 18:40     ` Adam Dinwoodie
@ 2012-03-22 18:47       ` LMH
  0 siblings, 0 replies; 7+ messages in thread
From: LMH @ 2012-03-22 18:47 UTC (permalink / raw)
  To: cygwin

Yes, that fixed the issue. The script runs from the shortcut without error.

Thanks for the assistance.

LMH



Adam Dinwoodie wrote:
> LMH wrote:
>> Thanks for the advice. I just ran cygcheck, but I'm supprised that you
>> are asking folks to post that. The output contains some personal
>> information, such as the computer name and user name, and I'm guessing
>> that some folks would rather not post that.
>
> You _did_ read the [problem reporting guidelines][0] before posting here,
> right?  Like the bits that say "include that file as *an attachment*"
> (emphasis original) and "it is ok to redact sensitive information"?
>
> [0]: http://cygwin.com/problems.html
>
>> I added C:\cygwin\bin to the windows path. I guess I forgot environment
>> variables when I did the re-install. One of these days I need to learn
>> how to do post install config scripts so I don't have to spend two weeks
>> getting my windows the way I want it.
>
> So did it work?  If it did, I don't really care about the cygcheck output
> any more.  If it didn't, I need to know that to be able to help.
>
> Adam
>
> --
> 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
>
>

--
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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: some kind of path problem when running bash script from windows shortcut
  2012-03-22 17:50   ` LMH
  2012-03-22 18:40     ` Adam Dinwoodie
@ 2012-03-23 14:05     ` Andrey Repin
  2012-03-23 15:50       ` LMH
  1 sibling, 1 reply; 7+ messages in thread
From: Andrey Repin @ 2012-03-23 14:05 UTC (permalink / raw)
  To: LMH, cygwin

Greetings, LMH!

> I added C:\cygwin\bin to the windows path. I guess I forgot environment
> variables when I did the re-install. One of these days I need to learn 
> how to do post install config scripts so I don't have to spend two weeks 
> getting my windows the way I want it.

If you're thorough about your backups, you can have your user environment back
up in no time, using a combination of rsync for files and ERD for registry
backups.


--
WBR,
Andrey Repin (anrdaemon@freemail.ru) 23.03.2012, <17:56>

Sorry for my terrible english...


--
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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: some kind of path problem when running bash script from windows shortcut
  2012-03-23 14:05     ` Andrey Repin
@ 2012-03-23 15:50       ` LMH
  0 siblings, 0 replies; 7+ messages in thread
From: LMH @ 2012-03-23 15:50 UTC (permalink / raw)
  To: cygwin

Thanks, that would be interesting to learn how to do. I guess I would 
need to learn what files need to be backed up and how to go about 
restoring them to a new install. I make considerable use of clonezilla 
images for the OS, but when I have to do a full re-install, I am stuck 
with making allot of manual adjustments afterwords.

LMH



Andrey Repin wrote:
> Greetings, LMH!
>
>> I added C:\cygwin\bin to the windows path. I guess I forgot environment
>> variables when I did the re-install. One of these days I need to learn
>> how to do post install config scripts so I don't have to spend two weeks
>> getting my windows the way I want it.
>
> If you're thorough about your backups, you can have your user environment back
> up in no time, using a combination of rsync for files and ERD for registry
> backups.
>
>
> --
> WBR,
> Andrey Repin (anrdaemon@freemail.ru) 23.03.2012,<17:56>
>
> Sorry for my terrible english...
>
>
> --
> 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
>
>

--
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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-03-23 15:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-22 17:22 some kind of path problem when running bash script from windows shortcut LMH
2012-03-22 17:37 ` Adam Dinwoodie
2012-03-22 17:50   ` LMH
2012-03-22 18:40     ` Adam Dinwoodie
2012-03-22 18:47       ` LMH
2012-03-23 14:05     ` Andrey Repin
2012-03-23 15:50       ` LMH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).