Let me see if I follow you. You are trying to open a batch file in notepad, using the edit shell extension? You should at least be able to view it, even if it has some attributes set, like read-only. I can only surmise that somehow you set the access rights to that file, and locked yourself out. To change them back, you'll have to log in as administrator. Maybe even your antivirus software prevents access to batch files?
I have the batch file, on my hard disk, in My documents. I right click the file and then click on "Edit." Notepad opens and gives me the error message.
If I open notepad, then goto file->open-> et cetera and do things that way, I still get the same error message.
I am an administrator, well my account is "computer administrator" and I can open other batch files. However, my antivirus program, keeps telling me that the batch file IS a virus. Now, I'm not going to run it, just in case it is, I just want to see what's inside.
It seems there is some malicious code in that file.
November 2 2004, 7:12 AM
Obviously your anti virus is blocking access to that file. If you really wanted to see whats in it, you could turn off your antivirust software and open it in note pad. It should only cause trouble if you run it. If you're still worried, you could try it on another computer.
Re: It seems there is some malicious code in that file.
November 2 2004, 10:13 AM
AVG antivirus says
Virus Found Kilroy
Blah Blah Blah
I forget the rest.
I turned off all my antivirus stuff, and I still could not open the file. I haven't access another computer to try it on so I'm boned there. I'll probably just delete it, as it doesn't seem too important.
you can boot into safe mode (f8 before the spash screen comes up) and right click it and go to properties, there will now magically be a "security" tab that only shows up in safe mode where you can choose your permissions. by screwing around with that (under "advanced" you might have to take ownership of the file) you should be able to get it to open with notepad. (as long as you have your antivirus software turned off).
I tried dos' edit -> didn't work
I tried uploading it via Angelfire -> didn't work(well I could upload it, but angelfire won't allow people to download batch files)
I haven't tried the safe mode thingy yet but . . . .