Exactly - but if he builds it
in this manner and then execute it as if it is a batch file - it will do what he
needs.
Ken Barker
IT Lead
Tel: 314-213-7927
1100 Corporate Square
St. Louis, MO 63132
[EMAIL PROTECTED]
From: Timothy Johnson
[mailto:[EMAIL PROTECTED]Sent: Fri 6/2/2006
7;t
open $batchfile\n";
my $file = "your commands";
print FILE1 "$file\n";
print FILE1 "\n";
my $morecommands = "more of your
commands";
print FILE1 "$morecommands\n";
close FILE1;
system(batchfile.bat);
note that this would need a full path if
Try this link.
http://search.cpan.org/~jmcnamara/Spreadsheet-WriteExcel-2.16/lib/Spreadsheet/WriteExcel.pm#set_header(%24string%2C_%24margin
Ken Barker
IT Lead
Tel: 314-213-7927
1100 Corporate Square
St. Louis, MO 63132
[EMAIL PROTECTED]
From:
[EMAIL PROTECTED] on behalf of Eric
At 09:56 AM 3/21/2006, Jerry Kassebaum wrote:
How do I get a directory listing on a Windows machine? I think it is
something like:
$direc = system `dir`;
print "$direc";
<>;
Try:
$command = "dir c:\\your_dir;
system($command);
___
Perl-Win32-Users
Title: FW: How to transfer the output of find command of Dos in perl to file
If you are asking how to put
this into a file - just use the re-direct with DOS:
system(@args>file.txt);
Ken Barker
IT Lead
Tel: 314-213-7927
1100 Corporate Square
St. Louis, MO 63132
[EMAIL PROTEC
Have you defined myDB in windows ODBC? It is under settings/control
panel/administrative tools/data sources ODBC.
At 02:40 PM 1/6/2006, Hsu, David wrote:
Hi all,
Has anyone else run into this problem and have found a solution?
I am making an ODBC connection to a remote MS Access DB fr
> Hello,
>
> When a .bat file with just the line:
> cd c:\some\where
> is executed from the Windows cmd shell, then
> when the .bat file terminates, the directory
> of the shell would have changed to c:\some\where.
>
> How do I get the same effect after running a perl script?
>
try:
$month
= 7;
$month
= sprintf("%02d",$month);
This may seem like a simple
question, but I have a variable $month=7 but I want to represent it as
$month=07. How is this done. I am not sure what to search on to find
out how to do this, hence I am here.
Thanks in
This is referring to the ODBC name. you set this under control
panel>administrative tools>Data Sources ODBC. Once you define your name - this
is the name you supply for DSN. HTH
Ken Barker
IT Lead
Americall Group, Inc
314-213-7927
[EMAIL PROTECTED]
-Original Message-
From:
Try
$ws1 = $workbook->add_worksheet('worksheetname');
Ken Barker
IT Lead
Americall Group, Inc
314-213-7927
[EMAIL PROTECTED]
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Hsu, David
Sent: Thursday, August 04, 2005 10:23 AM
To: Per
What kind of post is this?
I do not see that anything was added at all. Give us all a break - don't
bother - whatever your intentions.
At 06:35 PM 7/24/2005, $Bill Luebkert wrote:
John Deighan wrote:
> At 02:20 PM 7/24/2005, Ed Chester wrote:
>
>
>>John Deighan::
>>
>>>Is there a safe way t
When I substituted 'eq' versus '==' it works.
Not sure why though...
Ken
At 03:07 PM 7/24/2005, John Deighan wrote:
At 02:20 PM 7/24/2005, Ed Chester wrote:
John Deighan::
> Is there a safe way to compare 2 floating point numbers in Perl? [snip]
> My debugger says that they're both '630.24'
I am new to the mail list. I was looking for any examples in formatting cells
in Excel using Win32:OLE.
Any help would be much appreciated.
Ken Barker
[EMAIL PROTECTED]
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
13 matches
Mail list logo