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... (1 Reply)
what is a command to call a batch file from a c++ program
when called with the argument which is a text file, then how to print that text file on a printer.
please help me with code if possible (3 Replies)
EDIT: Is this wrong thread?
Hi I am on an Apple Mac and I am trying to run this batch file on my Mac and was wondering if anyone could tell me what a script that will make this run and work on my Mac. I was hoping that you could tell me the script in the shell format?
So here's the batch... (4 Replies)
Hi
I have to create a windows batch file which will read an input file and remove "double quotes" from each line of the file.
For eg.If input file name is abcd.csv and contents is :
"asasd,123123,213213,asd"
"esfrf,dsfsdf,234324,sdfsdf"
Then the batch file should remove "" from the... (11 Replies)
Hi all
I am using tru64 Unix and I want a ready batch file which makes me to change all user passwords at the same time ,instead of changing everyone separately.
Please could anyone help me to do that.
bye. (1 Reply)
Hello everyone. I am new to shell scripting and i am required to create a shell script, the purpose of which i will explain below.
I am on a solaris server btw.
Before delving into the requirements, i will give youse an overview of what is currently in place and its purpose.
... (2 Replies)
Hi all,
What I would like to achieve is to batch change the code below in every pdf in a given directory (each pdf is uncompressed so that can be easily edited).
An example of the javascript code:
if (this.hostContainer) { try { this.hostContainer.postMessage(pp_216', 15259]);... (3 Replies)
Hi guys,
I need a script to change the file names e.g.:-
below are the mentioned files, i want t0 change the last character of the name 00000.cdr with e.g bep01.smsc.191214210500-00000.cdr to bep01.smsc.191214210500-92311.cdr next file be like bep01.smsc.191214210500-92312.cdr
# ls -ltr... (9 Replies)
In the below perl executes if one file is processed perfect. However, when multiple files are processed in batch which is preferred I get the below error that I can not seem to fix it as the '' necessary for the command to execute, but seem to only work for one -arg option. Thank you :).
... (2 Replies)
Discussion started by: cmccabe
2 Replies
LEARN ABOUT MINIX
diskscan
diskscan(1M) System Administration Commands diskscan(1M)NAME
diskscan - perform surface analysis
SYNOPSIS
diskscan [-W] [-n] [-y] raw_device
DESCRIPTION
diskscan is used by the system administrator to perform surface analysis on a portion of a hard disk. The disk portion may be a raw parti-
tion or slice; it is identified using its raw device name. By default, the specified portion of the disk is read (non-destructive) and
errors reported on standard error. In addition, a progress report is printed on standard out. The list of bad blocks should be saved in a
file and later fed into addbadsec(1M), which will remap them.
OPTIONS
The following options are supported:
-n Causes diskscan to suppress linefeeds when printing progress information on standard out.
-W Causes diskscan to perform write and read surface analysis. This type of surface analysis is destructive and should be invoked
with caution.
-y Causes diskscan to suppress the warning regarding destruction of existing data that is issued when -W is used.
OPERANDS
The following operands are supported:
raw_device The address of the disk drive (see FILES).
FILES
The raw device should be /dev/rdsk/c?[t?]d?[ps]?. See disks(1M) for an explanation of SCSI and IDE device naming conventions.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Architecture |x86 |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO addbadsec(1M), disks(1M), fdisk(1M), fmthard(1M), format(1M), attributes(5)NOTES
The format(1M) utility is available to format, label, analyze, and repair SCSI disks. This utility is included with the diskscan, addbad-
sec(1M), fdisk(1M), and fmthard(1M) commands available for x86. To format an IDE disk, use the DOS format utility; however, to label, ana-
lyze, or repair IDE disks on x86 systems, use the Solaris format(1M) utility.
SunOS 5.10 24 Feb 1998 diskscan(1M)