DosTips.com

A Forum all about DOS Batch
It is currently 01 Oct 2016 02:39

All times are UTC-06:00




Post new topic  Reply to topic  [ 17 posts ]  Go to page Previous 1 2
Author Message
PostPosted: 07 Jun 2012 09:48 
Offline
Expert

Joined: 16 May 2011 08:21
Posts: 1433
Location: Flanders(Belgium)
'
@foxidrive, I've been meaning to ask why you involve the type command
Code:
for /f "delims=" %%? in ( 'type "file"' ) do 
when you could just
Code:
for /f "usebackq delims=" %%? in ( 'file' ) do 
Isn't the result like exactly the same :|


Top
   
PostPosted: 07 Jun 2012 10:04 
Offline
Expert

Joined: 10 Feb 2012 02:20
Posts: 5974
Ed Dyreen wrote:
'
@foxidrive, I've been meaning to ask why you involve the type command
Code:
for /f "delims=" %%? in ( 'type "file"' ) do 
when you could just
Code:
for /f "usebackq delims=" %%? in ( 'file' ) do 
Isn't the result like exactly the same :|


No magic reason, I never have to type usebackq


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 17 posts ]  Go to page Previous 1 2

All times are UTC-06:00


Who is online

Users browsing this forum: Bing [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited