Search found 3 matches
- 15 Oct 2014 12:08
- Forum: DOS Batch Forum
- Topic: running elevated cmd in batch script
- Replies: 6
- Views: 5160
Re: running elevated cmd in batch script
@Squashman, can you please elaborate little more. Do you mean to run this batch script elevated from another batch script. Because of some restriction due to legacy code it is not allowed to add new script in that source code.
- 15 Oct 2014 11:57
- Forum: DOS Batch Forum
- Topic: running elevated cmd in batch script
- Replies: 6
- Views: 5160
Re: running elevated cmd in batch script
Because of some internal requirement option to run this script as administrator is not available.
- 15 Oct 2014 06:53
- Forum: DOS Batch Forum
- Topic: running elevated cmd in batch script
- Replies: 6
- Views: 5160
running elevated cmd in batch script
Hi All, I am writing a dos batch file for windows7 and it has many commands which need elevated access to run. For elevation I am using elevate.exe. I am doing like below - set Elevation=elevate -wait cmd.exe /c %Elevation% "cd /d %CD% && xcopy /E /Y ...." %Elevation% "cd /d %...