this is a windows question, probably best asked on uwin-users
from ksh you must use posix sh quoting rules
and the semantic clash between '\' as unix escape char and windows dir sep
will require extra typing

On Sun, 22 Jul 2012 00:52:10 -0400 gene golub wrote:
> --===============1104907487==
> Content-Type: multipart/alternative;
>       boundary="_528cae0a-b1d7-4ee0-8217-fe2023ba6c7f_"

> --_528cae0a-b1d7-4ee0-8217-fe2023ba6c7f_
> Content-Type: text/plain; charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable

> Hello Forum=2C I use MKS Tools korn shell for windows. I often need to supp=
> ly command line argument which is long and 'cut' from win file explorer.Rig=
> ht now I need to use double quotes to conserve '\' for further parsing into=
>  '/'. Execution line looks like: script1 argum1 "c:\dir1\dir2\dir3" argum3s=
>  Can i get it to be: script1 argum1 c:\dir1\dir2\dir3 argum3? It would save=
>  me an effort to type ' " ' for each execution.

> Thank you=2C
> =20
> Gene
>                                         =

> --_528cae0a-b1d7-4ee0-8217-fe2023ba6c7f_
> Content-Type: text/html; charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable

> <html>
> <head>
> <style><!--
> .hmmessage P
> {
> margin:0px=3B
> padding:0px
> }
> body.hmmessage
> {
> font-size: 10pt=3B
> font-family:Tahoma
> }
> --></style></head>
> <body class=3D'hmmessage'><div dir=3D'ltr'>
> Hello Forum=2C<BR>&nbsp=3B<BR>I use MKS Tools korn shell for windows. <BR>I=
>  often need to supply command line argument which is long and 'cut' from wi=
> n file explorer.<BR>Right now I need to use double quotes to conserve '\' f=
> or further parsing into '/'.<BR>&nbsp=3B<BR>Execution line looks like: <BR>=
> script1 argum1 "c:\dir1\dir2\dir3" argum3s<BR>&nbsp=3B<BR>Can i get it to b=
> e:<BR>&nbsp=3B<BR>script1 argum1 c:\dir1\dir2\dir3 argum3<BR>?<BR>&nbsp=3B<=
> BR>It would save me an effort to type ' " ' for each execution.<br><br>Than=
> k you=2C<br>&nbsp=3B<br>Gene<br><BR>                                    
> </div></body>
> </html>=

> --_528cae0a-b1d7-4ee0-8217-fe2023ba6c7f_--

> --===============1104907487==
> Content-Type: text/plain; charset="us-ascii"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline

> _______________________________________________
> ast-users mailing list
> [email protected]
> https://mailman.research.att.com/mailman/listinfo/ast-users

> --===============1104907487==--

_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to