Pgsql permission denied

Hi ta all

1.) Using psql I made a command wich i namede com;
2.) I put it in c:\programmi\postgresql\9.0\scripts\ , on Vista;
3.) I gave to pgAdmin III shortcut the to “run as administrator”;
4.) I sent the following command;

\i c:\programmi\postgresql\9.0\scripts\com

but the sent message wos

c:: permission denied
```.

I am kindly asking 2:
1.) Is right to put com as in step 2?
2.) Is there a solution to permission problem?

Tanks in Advance