I have some scripts I'd like to run without starting cygwin and typing in
their paths. Is there a way to make windows recognize that a file is a
bash/python script and run them like as if I ran them in cygwin? I'd like
to just be able to doubleclick them in windows explorer. Is this possible?
This is the 2-line shell script I'm trying to run:
#! /bin/sh
touch test.txt
The privledges are set to 777
I get the error output line: " bash: $'\r': command not found "
for each command I put in the script, including cd, touch, ls, etc. Echo is
the only one that works for some reason. A
commands like grep or ls don't work, only regular DOS commands do. Do you
know how I can fix this?
--
View this message in context:
http://www.nabble.com/windows-cmd-Newb-question-tf4170903.html#a11866450
Sent from the Cygwin Users mailing list archive at Nabble.com.
--
Unsubscribe info:
I'm trying to run a shell script
--
View this message in context:
http://www.nabble.com/windows-cmd-Newb-question-tf4170903.html#a11866432
Sent from the Cygwin Users mailing list archive at Nabble.com.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: ht
Cygwin commands are not working when I run them in windows cmd.exe. Should
they?
I ask this question because my scripts are saying "command not found" for
each line in them. I'm assuming it's trying to run the commands in windows
and they're not working?
--
View this message in context:
http:
5 matches
Mail list logo