This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project. See the Cygwin home page for more information.
Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

running Cygwin shell scripts from a bat file (Was: precompiled perl?)


On 20 Apr 1999, John Huddleston <jhudd@cody.itc.nrcs.usda.gov> wrote:
> the contents of a myfile.bat file is
> 
> perl -S myfile %1
> 
> where myfile is a file containing perl code

Thank you -- that did the trick!

What about plain old shell scripts that use a bunch of regular Unix
commands (cp, mv, grep, cut, sed, etc.) -- can these be run from a DOS
box or from a bat file? Again the reason I want to be able to do this
is so I can use Windows Explorer and the Send To pop-up menu to send a 
file a Unix script.

Thanks again,
Nancy

-- 
ŠNancy McGough          http://www.ii.com          Infinite Ink
--= Sent via PINE: Power Internet News & Email for Win/Unix =--


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com