Re: registry



Use %System%\System32\something.exe

or

%SystemRoot%\System32\something.exe

--
Doug Knox, MS-MVP Windows Media Center\Windows Powered Smart Display\Security
Win 95/98/Me/XP Tweaks and Fixes
http://www.dougknox.com
--------------------------------
Per user Group Policy Restrictions for XP Home and XP Pro
http://www.dougknox.com/xp/utils/xp_securityconsole.htm
--------------------------------
Please reply only to the newsgroup so all may benefit.
Unsolicited e-mail is not answered.

"Michael B" <barclaymichael@xxxxxxxxxxx> wrote in message news:eNwXNp9eGHA.4040@xxxxxxxxxxxxxxxxxxxxxxx
Hello,

I was trying to make a shell command for a new file type i was creating, so
i created a registry key that led to the file that was used for the command:
it was something like this:

A file something.exe was stored in %systemdirectory%
and the registrykey (string, default, etc) said
%SystemDirectory%\something.exe "%1"

My problem was that when i tried to use the command i had a message box that
said:
Somedir\something.exe
access is denied

and i tried several combinations for my registri to work, the only thing i
could do was to give it the real path something like
c:\windows\system32\something.exe "%1" but that isnt useful.

Well, thanks in advance, just for reading this, luck to you all..



.



Relevant Pages

  • Re: Tweak UI - Password encryption and autologon
    ... >> Could it be you've set the registry password some other way? ... >>> Per user Group Policy Restrictions for XP Home and XP Pro ...
    (microsoft.public.windowsxp.security_admin)
  • Re: .NET and login
    ... Is there a way to access the place u mentioned below without having to use the RUN command? ... MS-MVP Windows Media Center\Windows Powered Smart Display\Security Win 95/98/Me/XP Tweaks and Fixes ... Per user Group Policy Restrictions for XP Home and XP Pro ...
    (microsoft.public.windowsxp.general)
  • Re: defragmenting drive not working
    ... Have already tried the command way. ... Per user Group Policy Restrictions for XP Home and XP Pro ...
    (microsoft.public.windowsxp.general)
  • Re: cleanup after malware/trojan/virus
    ... See if Start, Run, COMMAND works - it probably will. ... When you get into the registry, ... Highlight the Drivers32 folder on the left and observe the contents ... Specifically open the exported file with a text editor. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: The logon user file msgina.dll file is missing. restore it.
    ... Yet, when you do a DIR command in the Windows\System32 folder, the MSGINA.DLL file isn't there? ... Is this from the I386 folder on your hard disk or the Windows XP CD? ... Per user Group Policy Restrictions for XP Home and XP Pro ... I do not have an administrator password. ...
    (microsoft.public.windowsxp.basics)