Replace Current Windows User Running the EXE with another user

前端 未结 4 1447
醉话见心
醉话见心 2021-01-16 06:44

Say if I built a windows application that reads files from a network folder. The network folds restrict the access to only one user \"fooUser\". The application is installed

4条回答
  •  Happy的楠姐
    2021-01-16 07:14

    use the runas utility: http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/runas.mspx?mfr=true

    Hope this helps.

提交回复
热议问题