need help understanding "path" statement

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?
 
K

Ken Blake, MVP

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

nucleus

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?
 
K

Ken Blake, MVP

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top