I want to be able to generate a Word document from command line.
The document will have a few fields. Rest of the info will remain the same.
Example:
c:> gen_doc.bat Start_Date End_Date
The above should generate a document, with the values of the dates specified in the command line.
Wajid
Is there a way to preserve white spaces ( blanks, tabs etc.) in HTML.
I am using print statement in Perl to read lines from a file and print them as follows :
while ( <INP_FILE> ) {
chomp;
printf "\n$_ \n";
printf "<br>";
}
But when the page is rendered...
I want to poplulate options of a 'Popup Menu' dynamically.
Example :
If ( Parameter1 = "A" )
then
popup_menu ( var , 'A1', 'A2' )
If ( Parameter1 = "B" )
then
popup_menu ( var, 'B1', 'B2' )
I am inputting a variable from a checkbox as follows :
input_type = checkbox
name = ora_err
value = unchecked
I want to implement following logic :
if ( $ORA_ERR is checked )
{
do something
}
help.
I have a simple declaration :
$FILE_SUFFIX = "*.out";
It give following error :
Global symbol "FILE_SUFFIX" requires explicit package name at ./ice_cream.pl line 58.
Execution of ./ice_cream.pl aborted due to compilation errors.
what is error in following code :
@dir = ( $d1, $d2, $d3 );
foreach ( $dir )
{
chk_dir_exists ( $dir )
};
Keeps complaining "Global symbol dir requires explicit package name "
Does anybody knows of a good Unix job scheduling freeware ?
Basically, I am looking for following capabilities :
a. define a job
b. define command line arguments
c. define output file, error file etc.
d. manage files ( remove old files )
e. inform when a job fails
thanks
I am trying to copy a file to my desktop using following FTP command :
get file1.txt c:\"documents and settings"\userid\desktop\file1.copy.txt
But the FTP command keeps choking due to the space between the name of the directory ( "DOCUMENTS and settings" ).
heLP.
I want to write a batch process which does the following, everyday :
a. Connects to a server using FTP
b. Transfers a specific file ( say "dir1/log" )
c. E-mails the file to an e-mail address.
Any help will be appreciated
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.