FOR

  • Thread starter Thread starter rupart
  • Start date Start date
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
 
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'
 
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

.
 
Back
Top