Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Icacls command problem

Reply
Thread Tools Display Modes

Icacls command problem

 
 
UnknownTBeast
Guest
Posts: n/a

 
      06-28-2008
Why is it that it can't find files with spaces in there names? Like C:\System
Volume Information I tried putting %20 instead of spaces which didn't work.

This is the command that I use, replacing username with mine:

icacls C:\System Volume Information /grant Username:F

The system cannot find thee file specified.....yadayadayadaya

I even tried renaming the folder, which then it just disappears, then after
I refresh the screen, it reappears, but with the original name.....help
 
Reply With Quote
 
 
 
 
Censored Syndrome
Guest
Posts: n/a

 
      06-28-2008
"UnknownTBeast" <> wrote in message
news:24B628A1-60D1-4866-B249-...
> Why is it that it can't find files with spaces in there names? Like
> C:\System
> Volume Information I tried putting %20 instead of spaces which didn't
> work.
>
> This is the command that I use, replacing username with mine:
>
> icacls C:\System Volume Information /grant Username:F
>
> The system cannot find thee file specified.....yadayadayadaya
>
> I even tried renaming the folder, which then it just disappears, then
> after
> I refresh the screen, it reappears, but with the original name.....help


Hmmn, such a basic mistake.. so basic in fact, that I cannot understand how
you got to be using the ICACLS command without knowing such an elementary
thing.

You need to put addresses within quotes when they have spaces in them,
unless you are using the cd (chdir) command. So your command should have
been:

icacls "C:\System Volume Information" /grant Username:F

ss.


 
Reply With Quote
 
Censored Syndrome
Guest
Posts: n/a

 
      06-28-2008
"Censored Syndrome" <> wrote in message
news:...
>> Why is it that it can't find files with spaces in there names? Like
>> C:\System
>> Volume Information I tried putting %20 instead of spaces which didn't
>> work.
>>
>> This is the command that I use, replacing username with mine:
>>
>> icacls C:\System Volume Information /grant Username:F
>>
>> The system cannot find thee file specified.....yadayadayadaya
>>
>> I even tried renaming the folder, which then it just disappears, then
>> after
>> I refresh the screen, it reappears, but with the original name.....help

>
> Hmmn, such a basic mistake.. so basic in fact, that I cannot understand
> how you got to be using the ICACLS command without knowing such an
> elementary thing.
>
> You need to put addresses within quotes when they have spaces in them,
> unless you are using the cd (chdir) command. So your command should have
> been:
>
> icacls "C:\System Volume Information" /grant Username:F
>


Heh, I didn't even realise what you were trying to do. You really do not
want to give yourself access to the System Volume Information directory. Do
not mess with it. If you want to free up disk space that it is using,
delete your System Restore points and Shadow Copy data.

ss.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vista and icacls Todd Hudson Windows Vista General Discussion 2 04-23-2008 06:19 AM
command prompt problem Mike Windows Vista Administration 1 02-22-2008 12:00 AM
How to use icacls.exe to fully enable users to subfolders/files Tom Windows Vista Security 5 01-30-2008 02:49 AM
Grant permission using ICACLS antigravity Windows Vista File Management 0 08-14-2007 02:40 AM
Set rights with Icacls Beat Windows Vista Administration 5 07-13-2007 02:05 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59