Running BAT file

M

Mellowed

I need to run a BAT file as Administrator. I right click on the file
and the option is not there.
Where shall I look?
 
J

J. P. Gilliver (John)

Mellowed <[email protected]> said:
I need to run a BAT file as Administrator. I right click on the file
and the option is not there.
Where shall I look?
Can you open DOS prompt (or whatever that's called these days) as
administrator, and then run your batch file from there?
 
J

Jolly polly

J. P. Gilliver (John) said:
Can you open DOS prompt (or whatever that's called these days) as
administrator, and then run your batch file from there?
--
J. P. Gilliver. UMRA: 1960/<1985 MB++G()AL-IS-Ch++(p)Ar@T+H+Sh0!:`)DNAf

Try to learn something about everything and everything about something.
-Thomas Henry Huxley, biologist (1825-1895)
or you could create a shortcut to the batch file, then in the properties of
the shortcut under advanced tick 'run as administrator' OK, OK. Then run the
shoutcut
 
M

Mike Barnes

Mellowed said:
I need to run a BAT file as Administrator. I right click on the file
and the option is not there.
I wonder why not. My BAT file context menu has...

Open
Edit
Print
Run as administrator
...
 
M

Michael Swift

Mike Barnes said:
I wonder why not. My BAT file context menu has...

Open
Edit
Print
Run as administrator
Same here, I have all the usual stuff on a right click, the BAT which I
use to update information contained in an ancient DOS finance program I
wrote about 15 years ago and which runs under DosBox works fine.

Mike
 
D

Desk Rabbit

I need to run a BAT file as Administrator. I right click on the file
and the option is not there.
Where shall I look?
Google

Hint: Type in missing run as administrator
 
M

Mellowed

Can you open DOS prompt (or whatever that's called these days) as
administrator, and then run your batch file from there?
The solution wasn't totally straight forward.
1. Copied the BAT to C: (because it is easier this way)
2. On Accessories menu opened CMD prompt as Run as Administrator.
3. Changed directory to C using DOS. (Sure glad my first computer was DOS)
4. Typed in the bat file name. install.bat

It worked.
 

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