Windows 7 Forums Search
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows 7. The Windows 7 forum also covers news and updates and has an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7 - "access denied" when using "assoc" and "ftype" from cmdline?

 
08-02-2010   #1


winxp
 
 

"access denied" when using "assoc" and "ftype" from cmdline?

I tried to associate the file extension .txt to a new editor program
with the well known cmdline programs ASSOC and FTYPE.

No, assigning them through WinExplorer menu does not work.
But this is another problem which should not discussed here.

When I type now one of the following alternative commands at the CommandPrompt then Windows 7 returns me something like:

assoc .txt=txtfile

"Access denied"
The following error occurs: .txt"

or

ftype txtfile=D:\notepad++\notepad++.exe "%%1"

"Access denied"
The following error occurs: txtfile"

Why?

The command above work fine under WinXP

Peter

My System SpecsSystem Spec
08-02-2010   #2


Windows 7 Professional x64 PL
 
 


Question:

Did you run cmd.exe with administrative previlliges?
Elevated Command Prompt
My System SpecsSystem Spec
Reply

 "access denied" when using "assoc" and "ftype" from cmdline? problems?



Thread Tools



Similar Threads for: "access denied" when using "assoc" and "ftype" from cmdline?
Thread Forum
Changing the "minimize" "maximize" and "close" buttons of a theme Customization
"Access is denied" - "Unable to display current owner" Network & Sharing
Change font of "Welcome", "Logging Off" and "Shutting down"? Customization
Remaking "My Music", "My Pictures", "My Videos" folders Customization
Solved "Access Denied" for "Documents and Settings" General Discussion


All times are GMT -5. The time now is 09:07 PM.



Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30