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 6, 2009 at 00:29:44 Pacific
OS: Windows XP
Subcategory: Batch
Comment:

Hi all,

@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 those filenames in the following format

echo.
echo PROCEDURE To !<FileName>
echo()
osql -S %1 -d %2 -U %3 -P %4 -b -i "<FileName>"
if %ERRORLEVEL% NEQ 0 goto errors

I am new to dos.can anyone help me in doing this?



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







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