Program won't run

B

Barry

I downloaded a program called perltidy and successfully used it a few times
several months ago, but I can't seem to get it to work now. It's in a file
in a folder that I have a shortcut to on my desktop. I'll just reinstall a
newer version if there is nothing else I could do, but I'm wondering if my
current version is salvageable, especially because I have a similar problem
with another program from a folder on my desktop.

It's meant to run from the command prompt, by typing "perltidy" followed by
parameters, the last of which is a target file for perltidy to parse. I can
change to the proper directory and I see "perltidy" in the list of files
when I enter "dir" but when I enter "perltidy" from the command prompt, with
or without parameters, I get "'perltidy' is not recognized as an internal or
external command, operable program or batch file."

I also tried entering the path of perltidy in the run box from the start
menu. I got a pop-up that said Windows has to know what program created it.
I let Windows use the web service to find the appropriate program, but when
Internet Explorer opened, I got a "Bad Request (Invalid URL)" error. The URL
in the address bar was
http://shell.windows.com/fileassoc/0409/xml/redir.asp?Ext=YÄAY . I don't
know whether you could see what I see, but the end of the URL says "Ext="
and then contains a bunch of special characters.

Two more things, in case they're related

Thing 1: when I entered the "dir" command, the first line read "Volume in
drive C has no label." The serial number, path, and list of directories and
files followed.

Thing 2: Messenger Service stopped working after AOL disabled it. AOL did
this to all it's customers without notice, and in my case, their reversal
instructions didn't work. At the command line, while online, I tried net
send * "Hello" and got the message "An error occurred while sending a
message to MSHOME*. System error 64 has occurred. The specified network name
is no longer available." Doing the same while offline gave me "System error
1231 has occurred. The network location cannot be reached. For information
about network troubleshooting, see Windows Help."

I'd appreciate any help on any of the above.

Thanks,
Barry
 
B

Barry

My problem might have been caused by bad instructions and forgetting to add
"perl" before the command. PerlTidy doesn't have a .pl extension, so the
"perl" was needed. Perl files are clearly indicated as such by the first
line of code. I wish Windows was smart enough to recognize Perl from that.
And I bet the Windows web service to find the appropriate program has a bug
in it. I figured all this out after installing a new version of PerlTidy.

The Messenger Service thing is still a mystery though.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top