FOR

R

rupart

i run "FOR" command in command prompt directly and it
worked fine..
but when i put the lines and save it as *.bat it doesnt
work..

i am running this command...any idea how to get a working
batch file?

*************************************************88
FOR /F "eol=;" %i in (c:\test.txt)do
CACLS "c:\test2.txt" /E /C /G gar\user:C
***********************************************8
 
P

Phil Robyn

rupart said:
i run "FOR" command in command prompt directly and it
worked fine..
but when i put the lines and save it as *.bat it doesnt
work..

i am running this command...any idea how to get a working
batch file?

*************************************************88
FOR /F "eol=;" %i in (c:\test.txt)do
CACLS "c:\test2.txt" /E /C /G gar\user:C
***********************************************8

Use '%%i' instead of '%i'
 
G

Guest

hmpph..
k got it...thanks!
-----Original Message-----


Use '%%i' instead of '%i'

--
Phil Robyn
Univ. of California, Berkeley

u n z i p m y a d d r e s s t o s e n d e - m a i l

.
 

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