Quantcast
Results 1 to 3 of 3

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

  1. #1
    pstein is offline Senior Member
    Enjoys Windows 7 Forums
     
    Join Date
    Mar 2010
    Posts
    105

    "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

    Reply With Quote Reply With Quote

  2. #2
    Veegertx is offline Senior Member
    Enjoys Windows 7 Forums
     
    Join Date
    Nov 2009
    Posts
    216

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

    have you tried click once turn blue, hold down shift and right click and choose Open With. On sub menu choose Default program and browse to exe you want

    Reply With Quote Reply With Quote

  3. #3
    zvit's Avatar
    zvit is offline Tier 2 Moderator
    Enjoys Windows 7 Forums
     
    Join Date
    Nov 2009
    Age
    40
    Posts
    1,246

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

    1. Use the cmd with administrative privileges:
    Elevated Command Prompt - Windows 7 Forums

    2. Follow instructions here:
    Scripting: assoc and ftype

    Reply With Quote Reply With Quote

Similar Threads

  1. Replies: 14
    Last Post: 11-19-2011, 12:11 AM
  2. "Unidentified Network" "Local Access"
    By freewheelin_76 in forum Windows 7 Networking
    Replies: 21
    Last Post: 02-11-2011, 04:35 AM
  3. Replies: 5
    Last Post: 08-10-2010, 07:37 AM
  4. Access XP "Workgroup" share from W7 "Domain" machine.
    By Nang in forum Windows 7 Networking
    Replies: 2
    Last Post: 02-11-2010, 05:38 PM
  5. Replies: 8
    Last Post: 11-29-2009, 10:11 AM

Visitors found this page by searching for:

windows 7 assoc access is denied

windows 7 assoc access denied

assoc access denied windows 7

seven commande assocwindows 7 assoc zugriff verweigertpolitika assoc access is deniedcmd assoc command access denied errorwindows 7 ftype userassoc windows 7ftype access denied windows 8windows 7 assocftype assoc access is deniedzugriff verweigert assocaccess denied on assocassoc command windows 7

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •