Open txt file with administrator privilege

Anything VBScript-related, including Windows Script Host, WMI, ADSI, and more.
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 12 years and 1 month old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
User avatar
milend1966
Posts: 7
Last visit: Tue Feb 28, 2012 2:37 am

Open txt file with administrator privilege

Post by milend1966 »

Hi, i have a vbs script that need to open a file txt and write a text. is it possible open this file with administrator privilege also the file it is running as user belongs to User group ?Actually i use objFSO.OpenTextFile to open file.Thanks
This topic is 12 years and 1 month old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked