Microsoft > Windows XP

Open all extensions of type .x with a particular account

<< < (2/6) > >>

Treval:

Why do you show a Vista/Win7 screenshot when this is an XP subforum?
Or am I wrong?

I don't have that option and I'm on XP Pro SP3 with bblean shell.


BC_Programmer:
Hmm, quite right, sorry about that.

Best I can come up with, is changin the actual association to use runas;

I was able to get it working for text files in my VM program; I changed tje registry association to:

runas /env /user:%COMPUTERNAME%\Administrator "\"%SystemRoot%\system32\NOTEPAD.EXE\" \"%1\""

so, for Word, you could probably change the key:

HKEY_CLASSES_ROOT\Word.Document.12\shell\Open\command 's default value to

runas /env /user:%COMPUTERNAME%\Administrator "\"C:\Program Files (x86)\Microsoft Office\Office12\WINWORD.EXE" /n /dde\"

here is a registry script that should do just that:


--- Code: ---Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Word.Document.12\shell\Open\command]
@="runas /env /user:%COMPUTERNAME%\Administrator \"C:\\Program Files (x86)\\Microsoft Office\\Office12\\WINWORD.EXE\" /n /dde"

--- End code ---

I'm uncertain how runas will interoperate with DDE... you might need to tack:

--- Code: ---\"%1\"

--- End code ---
in place of /dde

Hope this helps some. Sorry for the confusion re: Vista/XP.

Treval:
Nice, but the path was not correct.
I know, I'm smart enough to figure it out. ;P
I find "C:\Progam Files" a lame path.
I use "g:\appz" and stuff like that.

Even using the correct path, sadly it didn't work..
The bblean shell took over.

What kind of weird value is this for the 'command' key? ..
vUpAVX!!!!!!!!!MKKSkWORDFiles>tW{~$4Q]c@5d1`,xaTO5 /n /dde

and my ddexec key has the value:
[REM _DDE_Direct][FileOpen("%1")]

Strange..

patio:
You're infected...

BC_Programmer:

--- Quote from: Treval on December 17, 2009, 03:00:59 PM ---Nice, but the path was not correct.
I know, I'm smart enough to figure it out. ;P
I find "C:\Progam Files" a lame path.
I use "g:\appz" and stuff like that.

Even using the correct path, sadly it didn't work..
The bblean shell took over.

What kind of weird value is this for the 'command' key? ..
vUpAVX!!!!!!!!!MKKSkWORDFiles>tW{~$4Q]c@5d1`,xaTO5 /n /dde

and my ddexec key has the value:
[REM _DDE_Direct][FileOpen("%1")]

Strange..


--- End quote ---

ignore the command key- it's unused.

Additionally, that "weird" value is inserted by several cracks/pirate copies of 2007.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version