> I'm not sure how Sean is trying to launch the batch file (ie,
> from a batch file, or compiled executable, etc) so how you
> would get a sfn would vary (and I can only really speak on
> the Win side), but if you know the batch exists, [cygpath -d
> "path\file.bat"] should give it in a usable
> Christopher Cobb wrote:
>
> > Conclusion: cmd.exe command line processing is brain dead.
> >
> > Among the problems are that cmd.exe looks for /exactly/ one pair of
quotes and
> > no more (see my previous message). And that (double) quotes are the
/only/ way
> > of quoting spaces.
>
> Wow. H
Since nothing in the batch file refers to the directory, it looks like
cmd.exe/command.com received the full path when executed. Compare the
following under cmd.exe (XP pro) and bash.
===
c:\tmp> type t.bat
echo x %0 x
echo %1 %2 %3 %4 %5 %6 %7 %8 %9
c:\tmp> t.bat a b c d e f g h
3 matches
Mail list logo