Computing.Net > Forums > Programming > batch file help

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 help

Reply to Message Icon

Name: saranya_z
Date: April 3, 2009 at 07:28:31 Pacific
OS: Windows XP
Subcategory: Batch
Comment:

@echo off
dir /b D:\Test\*.txt >count.txt
start /w count.txt
cls

using this bat file i have listed the filenames from a folder and now i want to insert those file names one by one to the following.
ie the output must be like the below
echo.
echo PROCEDURE To !<FileName>
echo()
osql -S %1 -d %2 -U %3 -P %4 -b -i "<FileName>"
if %ERRORLEVEL% NEQ 0 goto errors

can anyone help me in doing this?



Sponsored Link
Ads by Google

Response Number 1
Name: ghostdog
Date: April 3, 2009 at 19:47:08 Pacific
Reply:
0

Response Number 2
Name: saranya_z
Date: April 6, 2009 at 00:48:11 Pacific
Reply:

sorry i am new to dos..could u explain me clearly..
Thanks in advance


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


VBS error 0x8004100A cat command



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: batch file help

batch file help www.computing.net/answers/programming/batch-file-help/13830.html

Batch File Help www.computing.net/answers/programming/batch-file-help-/11464.html

batch file help www.computing.net/answers/programming/batch-file-help/190.html