WinAsm Studio, The Assembly IDE - Free Downloads, Source Code
Articles
Programming Quick Start
32-bit Assembler is Easy
Porting Iczelion tutorials
What is FASM
Hard Drive Recovery
Wiring your own LAN
 
Forum
 

Rename

ragdog
Quote Post


Extremely Active Member
******

Group: Moderators
Posts: 891
Member No.: 5019
Joined: 13-May 07


Sponsored Links
Hi

I try rename a file with admin rights

icacls xxx.dll /grant Administrator:F
ren xxx.exe xxx.bak

i become a error by rename the file "Access denied"

Have your a idea?
PMUsers Website
Top
Gunner
Quote Post


Extremely Active Member
******

Group: Admins
Posts: 213
Member No.: 27608
Joined: 11-October 09


Why are you asking for full access? You could try :M for modify or :W for write.... :GW, :WD... also shouldn't xxx.dll be the name of the file you want admin rights to rename?

Shouldn't it be:
icacls xxx.exe /grant Administrator:F
ren xxx.exe xxx.bak
PMEmail PosterUsers Website
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll

 

Sponsors
Computer Science

Internet
C/C++
Hardware & PC maintenance

HiEditor

General Discussions
Suggestions/Bug Reports
WinAsm Studio

General Discussions
Suggestions/Bug Reports
WinAsm Studio FAQ
Multilingual User Interface
Add-Ins
Assembly Programming

Main
Newbies
Projects
Custom Controls
Snippets
Announcements & Rules

Announcements

General

Online Degrees - Distance Learning
The Heap
Russian