Technology Questions

Go Back   Technology Questions > Software Questions > Operating System Questions > Vista Community > Windows Vista

Windows Vista Discuss the different versions of Windows Vista, Fuji, or Vienna

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 04-05-2008, 06:50 PM
timb
Newsgroup Contributor
 
Posts: n/a
run as administrator switch or argument

Is there any way to use a switch or argument in a shortcut's "target" to
have the application run as administrator, instead of setting the shortcut's
advanced properties to that setting ? For example... the target reads:

C:\Users\username\AppData\Roaming\Office\msword.exe

Is there a Run As Administrator switch to tack on the end of the string ?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 04-05-2008, 06:50 PM
  #2 (permalink)  
Old 04-05-2008, 07:30 PM
Bob
Newsgroup Contributor
 
Posts: n/a
Re: run as administrator switch or argument

Open up a cmd prompt and type runas /?

"timb" <mtguy26505******.com> wrote in message
news:7393132B-8684-4B36-8D63-B3436864B0C1@microsoft.com...[color=blue]
> Is there any way to use a switch or argument in a shortcut's "target" to
> have the application run as administrator, instead of setting the
> shortcut's advanced properties to that setting ? For example... the
> target reads:
>
> C:\Users\username\AppData\Roaming\Office\msword.exe
>
> Is there a Run As Administrator switch to tack on the end of the string ?[/color]

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #3 (permalink)  
Old 04-05-2008, 09:01 PM
Lang Murphy
Newsgroup Contributor
 
Posts: n/a
Re: run as administrator switch or argument

"timb" <mtguy26505******.com> wrote in message
news:7393132B-8684-4B36-8D63-B3436864B0C1@microsoft.com...[color=blue]
> Is there any way to use a switch or argument in a shortcut's "target" to
> have the application run as administrator, instead of setting the
> shortcut's advanced properties to that setting ? For example... the
> target reads:
>
> C:\Users\username\AppData\Roaming\Office\msword.exe
>
> Is there a Run As Administrator switch to tack on the end of the string ?[/color]


Navigate in Windows Explorer to the msword.exe you list above... then...
open properties for that exe and on the compatibility tab, click the "Run
this program as an administrator" check box.

Lang

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Off
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
P4P invalid argument encountered nikro Windows Vista 3 09-29-2009 01:40 AM
How to supply argument from Run command prompt? SANTANDER Windows XP 6 11-01-2007 03:50 PM
Re: The 'Distro" argument. sully1999@gmail.com Windows Vista 0 09-23-2007 06:20 PM
Passing command line argument via Windows Shortcut Peter Lu Windows XP 4 09-19-2007 02:25 AM
the NT kernel and the OS argument kcmunchkin@gmail.com Windows XP 1 05-26-2007 10:20 AM


New To Technology Questions? Do You Need Help with Your Computer or Device? Do You Need Help with this site?

All times are GMT -8. The time now is 11:33 AM.


2003 - 2009 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0