View Single Post
  #7 (permalink)  
Old 12-13-2007, 04:10 PM
Shenan Stanley
Newsgroup Contributor
 
Posts: n/a
Re: XP is not user friendly, this is frustrating

nucleus wrote:
> a start, search for for "cookies" finds a cookie is there
> at I:\Documents and Settings\Myname\Cookies
>
> a search with start, programs, assessories, command prompt
> using I:\Documents and Settings\Myname\Cookies also finds
> the cookie is there
>
> BUT IF I TRY TO DELETE IT in my autoexec.bat file at bootup,
> with the statement
> Del /q/s I:\Documents and Settings\Myname\Cookies\*.*
> i get the message "The system cannot find the path specified."
>
> the PATH i am using is: PATH I:\
>
> what am i missing???

nucleus wrote:
> thanks for the replies, everybody.
>
> JS, the quotation marks did solve that one problem. what i do
> not understand, is why XP sometimes requires quotation marks
> on some delete commands in autoexec.bat and on other delete
> commands in autoexec.bat, it works without quotation marks.
> is there some link you could suggest for me to learn more
> about the quotation marks in XP?
>
> Malke, why do you say XP DOES NOT use autoexec.bat? it does
> work on XP Pro at boot time. it does execute my delete commands.
>
> Shenan, yes ParseAutoexec is set to 1. it was like that at XP
> build time (i did not change that).



If there is a space in the filename/directory to get to the file in
question - put quotes around it.
I would put quotes around it if anything is over 8 characters (between \'s)
as well...

Your line:
Del /q/s I:\Documents and Settings\Myname\Cookies\*.*

would be:
Del /q /s "I:\Documents and Settings\Myname\Cookies\*.*"


If you were deleting something simplistic, like C:\windows\filename.ext, you
wouldn't need the quotes.


--
Shenan Stanley
MS-MVP
--
How To Ask Questions The Smart Way
http://www.catb.org/~esr/faqs/smart-questions.html


Reply With Quote

 
Old 12-13-2007, 04:10 PM