Live Scores
Shareware
Movie Stars
Programming
Multimedia
Mobile
Database
Enterprise
in
Btrieve
Database
(Entire Site)
Questions and answers to issues related to Software: Business, Database, Firewalls, Office, Graphics, Security, System, Server.
»
Database
»
4GL
»
Btrieve
»
executing batch file on newwork drive
executing batch file on newwork drive
I have a batch on the network drive
S:\Admin\PartRack\Junebatc
h.bat
In map network drive, S corresponds to "\\PND04\ISO$"
what is the command in the sql job to execute it?
thanks
Solution: executing batch file on newwork drive
Use SQLCMD and provide the path like
SQLCMD -U username -P password -S Servername -i input_file_name -o output_file_name
eg:
SQLCMD -U username -P password -S Servername -i S:\Admin\PartRack\Junebatc
h.bat -o S:\Admin\PartRack\Junebatc
h.out
Popular Tags
Tags:
access
Access 2007
access 2007 using a wild card
ASP
ASP VB
asp.net
btrieve
CSS
database
error
Excel
Extremely slow MySQL SELECT query - table with an INNER JOIN to the same table
file
HTML
Javascript
Microsoft
MySQL
ODBC
optimization
peachtree
pervasive
php
php if else end
queries
query
SQL
SQL Server 2005
wild card
windows 7
Browse All Tags