Computing.Net > Forums > Windows XP > batch file

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

batch file

Reply to Message Icon

Name: sengamalai
Date: October 12, 2009 at 20:39:43 Pacific
OS: Windows XP
Product: Microsoft Windows xp professional edition
Subcategory: Software Problems
Tags: Echo command
Comment:

I would like to add an black line to all the text
files present in a folder.
The below mentioned command works only for
single file...but i want to do the same job for
entire folder.

echo. >>test.txt



Sponsored Link
Ads by Google

Response Number 1
Name: Ewen
Date: October 12, 2009 at 22:31:31 Pacific
Reply:

For more help you should post this in the Programming Forum. The link is on the right

Home Page http://ewen.uuuq.com/


0

Response Number 2
Name: nbrane
Date: October 13, 2009 at 02:29:41 Pacific
Reply:

for %%a in (*.txt) do echo .>> %%a
or if not txt: for %%a in (*.*) do echo .>> %%a
ya git th jist...


0

Response Number 3
Name: sengamalai
Date: October 13, 2009 at 22:06:35 Pacific
Reply:

Thanks for you reply, i want to add a blank line to all the files
mentioed in the below path, can you provide me the command
for it.

I tried echo. >> *.txt or echo. >> *.* Both did not work.

Example:
Directory of D:\test\testappen

AUAUS1-2009092332340.txt
AUAUS1-2009092332409.txt
AUAUS1-2009092332429.txt
AUAUS1-2009092332450.txt
AUAUS1-2009092332524.txt
AUAUS1-2009092332614.txt
AUAUS1-2009092332647.txt
AUAUS1-2009092332743.txt


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More






Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: batch file

Batch file www.computing.net/answers/windows-xp/batch-file/180885.html

Auto folder Batch file www.computing.net/answers/windows-xp/auto-folder-batch-file/145055.html

simple batch file www.computing.net/answers/windows-xp/simple-batch-file/149160.html