On Sun, 23 Oct 2005 17:26:50 -0700, wrote:
zzapper wrote:
Sometimes it can be hard, especially when you are dealing with both
Cygwin and non-Cygwin programs, because the quoting rules differ. But
it is always possible, and I can't believe that there exists a situation
where you are actually
zzapper wrote:
On Sun, 23 Oct 2005 17:26:50 -0700, wrote:
zzapper wrote:
Sometimes it can be hard, especially when you are dealing with both
Cygwin and non-Cygwin programs, because the quoting rules differ. But
it is always possible, and I can't believe that there exists a situation
zzapper wrote:
See script below sja.exe is actually in program files, my kludge below was to
use a mount (rather
than the short name)
I don't see anything here that necessitates using a mount or 8.3.
sjaprog=/sqlyog/sja.exe
sjaprog=/cygdrive/c/program\ files/whatever/sja.exe
On Mon, 24 Oct 2005 12:09:41 +0100, wrote:
One question.. When you were trying with spaces.. Did you try escaping
the \ ? (as in Program\\ Files)
I've found this to be necessary at times, though I can't remember an
instance at the moment.
Does the command run from the console if you start it
zzapper wrote:
On Mon, 24 Oct 2005 12:09:41 +0100, wrote:
One question.. When you were trying with spaces.. Did you try escaping
the \ ? (as in Program\\ Files)
I've found this to be necessary at times, though I can't remember an
instance at the moment.
Does the command run from the
On Mon, 24 Oct 2005 04:28:37 -0700, wrote:
Whatever I try I get
/usr/local/sbin/jraynersqlzip: line 14: /cygdrive/c/Program\ Files/SQLyog\
Enterprise/sja.exe: No
such file or directory
But a ls is just dandy
ls -l /cygdrive/c/Program\ Files/SQLyog\ Enterprise/sja.exe
-rwx--+ 1 davidr
zzapper wrote:
On Mon, 24 Oct 2005 04:28:37 -0700, wrote:
Whatever I try I get
/usr/local/sbin/jraynersqlzip: line 14: /cygdrive/c/Program\ Files/SQLyog\
Enterprise/sja.exe: No
such file or directory
But a ls is just dandy
ls -l /cygdrive/c/Program\ Files/SQLyog\ Enterprise/sja.exe
On Mon, 24 Oct 2005 13:02:31 +0100, wrote:
zzapper wrote:
On Mon, 24 Oct 2005 04:28:37 -0700, wrote:
Whatever I try I get
/usr/local/sbin/jraynersqlzip: line 14: /cygdrive/c/Program\ Files/SQLyog\
Enterprise/sja.exe: No
such file or directory
But a ls is just dandy
ls -l
zzapper wrote:
On Mon, 24 Oct 2005 13:02:31 +0100, wrote:
zzapper wrote:
On Mon, 24 Oct 2005 04:28:37 -0700, wrote:
Whatever I try I get
/usr/local/sbin/jraynersqlzip: line 14: /cygdrive/c/Program\ Files/SQLyog\
Enterprise/sja.exe: No
such file or directory
But a ls is just dandy
ls
On Mon, 24 Oct 2005 13:49:45 +0100, wrote:
Please attach the script in question verbatim (ie don't edit it) so that
we can have a look and see what's going on. :)
Obviously, if there are passwords, or server names, or ip address, you
can mask those..
Just don't change the script itself.
begin 644 jraynersqlzip
M(R$O8FEN+V)A[EMAIL PROTECTED]B,@:G)A6YEG-Q;'II`T*(R!D97-CFEP=EO;B`Z
M()A8VMU!-7-Q;!UVEN9R!S:F$N97AE#0HC(1A=4@,C%-87(P-0T*
M(R!V,2XP#0ID:7)B86-K=7`](F,Z+V)A8VMU]F87)MR\B#0IE=F%L(9I
M;5D871E/20H9%T92YE4@)RLE95B)7DG*0T*;',@+6P@)1IF)A8VMU
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to zzapper on 10/24/2005 6:56 AM:
Please convince your mailer to send text files with a text mime-type, not
application/octet-stream. Reposting here for convenience:
#!/bin/bash
# jraynersqlzip
# description : backup Mysql using sja.exe
#
zzapper wrote:
/usr/local/sbin/jraynersqlzip: line 14: /cygdrive/c/Program\ Files/SQLyog\
Enterprise/sja.exe: No
such file or directory
But a ls is just dandy
There's double quoting now. My email wasn't quite correct, use one or
the other but not both:
foo=/path\ with\ spaces
or
On Sat, 22 Oct 2005 20:46:04 +0100, wrote:
Hi
$ cygpath -d c:/Program\ Files/Internet\ Explorer
c:\PROGRA~1\INTERN~1
I've just had another case where the I had to use the short form, is the short
form the real name?
Hi just solved my problem:-
sjaprog='/cygdrive/c/Program Files/SQLyog
On Sat, 22 Oct 2005 20:46:04 +0100, wrote:
Hi
$ cygpath -d c:/Program\ Files/Internet\ Explorer
c:\PROGRA~1\INTERN~1
I've just had another case where the I had to use the short form, is the short
form the real name?
I think I've may be mislead you, I think my problem was more that when theres
zzapper wrote:
I've just had another case where the I had to use the short form, is the
short form the real name?
I think I've may be mislead you, I think my problem was more that when theres
an interaction between
*nix scripts environment. Sometimes even quoting doesn't seem to carry the
On Sun, Oct 23, 2005 at 05:04:23PM +0100, zzapper wrote:
On Sat, 22 Oct 2005 20:46:04 +0100, zzapper wrote:
Hi
$ cygpath -d c:/Program\ Files/Internet\ Explorer
c:\PROGRA~1\INTERN~1
I've just had another case where the I had to use the short form,
is the short form the real name?
No,
Hi
$ cygpath -d c:/Program\ Files/Internet\ Explorer
c:\PROGRA~1\INTERN~1
I've just had another case where the I had to use the short form, is the short
form the real name?
--
zzapper
Success for Techies and Vim,Zsh tips
http://SuccessTheory.com/
--
Unsubscribe info:
zzapper wrote:
$ cygpath -d c:/Program\ Files/Internet\ Explorer
c:\PROGRA~1\INTERN~1
I've just had another case where the I had to use the short form, is the
short form the real name?
Huh? What do you mean? Does the short form uniquely identify the
file? Yes, of course. But only in
Brian Dessent wrote:
Generation of the short name from the long name is not even not
guaranteed to exist or work.
s/not even not guaranteed/not even guaranteed/
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
20 matches
Mail list logo