Cross threaded-See thread “need vbscript to determine file extension ” in Lounge/System Development/Windows Programming.
I have a vbs script that will rename a non-windows file in C:windows folder. The problem is that it does not elicit the normal UAC option/warning to allow changes and then fails to complete as I have not given permission. A similar batch script does elicit this option and then I can allow it to complete. The script runs if the file is not in C: as no warning is issued/needed.
How can I get this script to either elixcit this option/warning or can I selectively allow this type of script or this specific script to run without turning off UAC?
-
VBS script tripping over UAC
- This topic has 3 replies, 3 voices, and was last updated 13 years, 7 months ago.
AuthorViewing 2 reply threadsAuthorViewing 2 reply threads