Page 2 of 2

Re: search pos index and move file

Posted: 07 Jun 2012 09:48
by Ed Dyreen
'
@foxidrive, I've been meaning to ask why you involve the type command

Code: Select all

for /f "delims=" %%? in ( 'type "file"' ) do 
when you could just

Code: Select all

for /f "usebackq delims=" %%? in ( 'file' ) do 
Isn't the result like exactly the same :|

Re: search pos index and move file

Posted: 07 Jun 2012 10:04
by foxidrive
Ed Dyreen wrote:'
@foxidrive, I've been meaning to ask why you involve the type command

Code: Select all

for /f "delims=" %%? in ( 'type "file"' ) do 
when you could just

Code: Select all

for /f "usebackq delims=" %%? in ( 'file' ) do 
Isn't the result like exactly the same :|


No magic reason, I never have to type usebackq