-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

"Raul Miller" <[EMAIL PROTECTED]> writes:

> I was able to execute a command that had spaces in the name
> using shell '"c:\documents and settings\...name.exe"'
>
> I don't underestand why this did not work for you.

Raul,

Part of the problem seems to be that I always picked programs that
depended upon the cygwin dll.  I just started the Sysinternals Process
Explorer NT with the shell command, and it worked.  I noticed that any
options need to be outside the double quotes:

,----
|   shell '"c:\program files\system 
administration\processexplorernt\procexp.exe" /t'
`----

If I put the /t inside the double quotes, I get the error message I've
seen earlier:

,----
|       shell '"c:\program files\system 
administration\processexplorernt\procexp.exe /t"'
| 'c:\program' is not recognized as an internal or external command,
| operable program or batch file.
`----

When I try that with my real external program with both the executable
and data file names separately in double quotes, I get that same error
message.

If I drop off the double quotes around the data file name, then I get no
response, which is probably due to cmd being called instead of bash.

That's why I'm looking forward to getting Dan's bash verb to work.  It
appears that shell'' isn't happy if it has two file names in its
argument and both are ""-quoted.

More shortly.  I have a feeling this is easier than I'm making it, but I
haven't seen the light yet.

Thanks,

Bill
- -- 
Bill Harris                      http://facilitatedsystems.com/weblog/
Facilitated Systems                              Everett, WA 98208 USA
http://facilitatedsystems.com/                  phone: +1 425 337-5541
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)
Comment: For more information, see http://www.gnupg.org

iD8DBQFF52qy3J3HaQTDvd8RAj/oAJsGtz/TIlxSZWyne3OtAjLz5Y6UGACfaOHY
MoDrkY8RKm94uny1U//2/xg=
=a+zs
-----END PGP SIGNATURE-----

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to