The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
Google UNIX.COM



Thread: batch file
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 11-08-2005
ramneek ramneek is offline
Registered User
 

Join Date: Aug 2005
Posts: 30
batch file

my requirment is

i have to call a batch file from a c++ program
that batch file is called with the argument as print.txt
print.txt is a text file which should get printed on printer (any printer) when a batch file call is made


1) how to call a batch file in c++
2) how to print the text file to a printer

please help me if possible with code
Forum Sponsor