Subj : Re: no subject? To : Barry.Blackford!3.774.605.0@dsl-64- From : Janis Kracht Date : Tue Oct 09 2001 03:45 pm Hi Barry, >>> I want it to do something like this but can't seem to make it >>> function: >>> cp index.html index.rotate >>> cp index1.html index.html >>> cp index2.html index1.html >>> cp index3.html index2.html >>> cp index.rotate index3.html >> This looks allright to me. Have you maybe forgotten to add a >> #!/bin/sh at the top? > Thanks for looking, yes, it returns: > ./htmlrename > ) is not a directory files, but last argument ( > Try `cp --help' for more information > The really strange thing is that I can manually run each line of that script >manually (with no problems). I also tried #!/bin/bash with the same results as > above. Did you make the program executible (chmod a+x filename, or chmod 655 filename? Take care, Janis --- BBBS/LiI v4.01 Flag-3 * Origin: Prism bbs (1:2320/38) .