Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can't run SnippingTool
#1
Macro Macro
Code:
Copy      Help
str s
s="C:\Windows\System32\SnippingTool.exe"
out s
run s
Generates this error dialog:
Windows cannot find 'C:\Windows\System32\SnippingTool.exe'. Make sure you typed the name correctly, and then try again.

But if I use the Windows 7 run dialog and run this path, it starts the program just fine:
C:\Windows\System32\SnippingTool.exe

Any ideas why this code won't work?
#2
Run programs from 64-bit system folder (disable redirection)
#3
Neither method seems to work because I don't have admin privileges on the PC.
#4
Here works. Tested on Win8 admin account with QM running in all 3 UAC modes. Cannot test on user account but I think should work too.
Macro Macro1914
Code:
Copy      Help
#compile "____Wow64DisableWow64FsRedirection"
__Wow64DisableWow64FsRedirection x.DisableRedirection
run "C:\Windows\System32\SnippingTool.exe"
x.Revert
#5
---------------------------
System Configuration
---------------------------
You do not have sufficient privileges to run System Configuration. Please run this utility as a user in the Administrators group.
---------------------------
OK
---------------------------
#6
Replace msconfig to SnippingTool.
#7
Yes. Works. Thank you!


Forum Jump:


Users browsing this thread: 1 Guest(s)