need help understanding "path" statement

  • Thread starter Thread starter nucleus
  • Start date Start date
N

nucleus

am converting from W98 to XP and trying to get autoexec.bat to
execute my bootup "delete" commands, but i get this error stating
"the system cannot find the path specified".

here are my "path" and "delete" lines:

PATH I:\WINDOWS\System32
Del /q/s "I:\Documents and Settings\Myname\Local Setings\Temporary
Internet Files\*.*"
PAUSE

the "path" line apparently executes successfully, but the error
message occurs on
the "Del" line.

how can i solve this problem?
 
On Fri, 7 Dec 2007 15:33:47 -0800 (PST), nucleus
<rose122550@yahoo.com> wrote:

> am converting from W98 to XP and trying to get autoexec.bat to
> execute my bootup "delete" commands, but i get this error stating
> "the system cannot find the path specified".
>
> here are my "path" and "delete" lines:
>
> PATH I:\WINDOWS\System32
> Del /q/s "I:\Documents and Settings\Myname\Local Setings\Temporary
> Internet Files\*.*"
> PAUSE
>
> the "path" line apparently executes successfully, but the error
> message occurs on
> the "Del" line.



Two points:

1. Autoexec.bat doesn't work in Windows XP

2. However you are trying to execute the commands, you have spelled
"settings" wrong.

--
Ken Blake, Microsoft MVP Windows - Shell/User
Please Reply to the Newsgroup
 
thanks ken, the problem was indeed mispelling of "settings".

however, autoexec.bat is working for me at boot time in XP (with
registry
item "ParseAutoexec" set to 1).

my question now is: is autoexec.bat not supposed to work with XP as
you state?


On Dec 7, 6:08 pm, "Ken Blake, MVP" <kbl...@this.is.am.invalid.domain>
wrote:
>
> Two points:
>
> 1. Autoexec.bat doesn't work in Windows XP
>
> 2. However you are trying to execute the commands, you have spelled
> "settings" wrong.
 
On Sat, 8 Dec 2007 15:22:21 -0800 (PST), nucleus
<rose122550@yahoo.com> wrote:

> thanks ken, the problem was indeed mispelling of "settings".



You're welcome. Glad to help.


> however, autoexec.bat is working for me at boot time in XP (with
> registry
> item "ParseAutoexec" set to 1).
>
> my question now is: is autoexec.bat not supposed to work with XP as
> you state?



Right. Here are a few references, found by google:
http://www.annoyances.org/exec/show/article07-036
http://mindprod.com/jgloss/autoexecbat.html
http://au.answers.yahoo.com/answers2/frontend.php/question?qid=20071015194159AAWBLLq





> On Dec 7, 6:08 pm, "Ken Blake, MVP" <kbl...@this.is.am.invalid.domain>
> wrote:
> >
> > Two points:
> >
> > 1. Autoexec.bat doesn't work in Windows XP
> >
> > 2. However you are trying to execute the commands, you have spelled
> > "settings" wrong.


--
Ken Blake, Microsoft MVP Windows - Shell/User
Please Reply to the Newsgroup
 
Back
Top