Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...Just wanted to let you know that I registered today, and your site is fantastic. I found solutions to problems that I have been encountering for months!..."

Geography

Where in the world do Tek-Tips members come from?
dalex17 (TechnicalUser)
31 Oct 03 10:46
Hello,

Can I get some assistance on creating a quick and simple batch file (is this even the correct group)? I am a first time creator of a batch file and am not finding the internet very resourceful.

My goal is to do the following:

1) Open a program (SQLTalk)
2) Open a file
3) Run the file
4) Close the program

Dalex
ModelTrains (Programmer)
31 Oct 03 14:02
Dalex,
I run batch jobs every night.  Email me:

scevem@totalshow.com

NOTE: This is a business email and unsolicited emails will be investigated and appropriate action will be taken.
ModelTrains (Programmer)
31 Oct 03 14:27
OK, I found the process. It is scheduled to run nightly and runs a script.  The script spools the output to a text file.  SQLTalk closes itself when the job is done.  This can be run through a scheduler or via a BAT file.  The following command is all on one line:

C:\Centura\sqltalk.exe BAT INPUT=Q:\BACKUP\KEYVALS\UnloadKeyvalsAllBranches.sql
dalex17 (TechnicalUser)
3 Nov 03 10:30
Modeltrains,

This is fantastic.  Thanks.  I guess I will create a batch file and enter the info as you have suggested above.  I'll e-mail you if I run into an problems.

Also, if you have any additional comments, I deeply welcome them.

Thanks again!

Dalex

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close