Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista General

Vista - Icacls command problem

Reply
 
Old 06-27-2008   #1 (permalink)
UnknownTBeast


 
 

Icacls command problem

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

My System SpecsSystem Spec
Old 06-28-2008   #2 (permalink)
Censored Syndrome


 
 

Re: Icacls command problem

"UnknownTBeast" <UnknownTBeast@xxxxxx> wrote in message
news:24B628A1-60D1-4866-B249-86C565C92247@xxxxxx
Quote:

> 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.


My System SpecsSystem Spec
Old 06-28-2008   #3 (permalink)
Censored Syndrome


 
 

Re: Icacls command problem

"Censored Syndrome" <synapse@xxxxxx> wrote in message
news:ezuimtN2IHA.2384@xxxxxx
Quote:
Quote:

>> 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.


My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Regarding Icacls.exe General Discussion
icacls Problem, any Ideas ? Vista security
Vista and icacls Vista General
Grant permission using ICACLS Vista file management
Set rights with Icacls Vista account administration


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

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