These are ANSI escape codes.
Make a search on Google on these keywords if it is not clear to you what
they are.
Why PPM is trying to make use of them is another question though.
What is your platform ?
_
Bruno Bellenger
Sr. Network/Systems
Works great, thanks for the pointer.
But the problem remains of NT machines in a software 'shutdown' state.
Anyone has an idea how to remotely restart those ?
_
Bruno Bellenger
Sr. Network/Systems Administrator
-Original Message-
A quick'n'dirty one :
$currentdirpath=`cd` ;
chomp $currentdirpath ;
_
Bruno Bellenger
Sr. Network/Systems Administrator
-Original Message-
From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
Sent: Monday,
Anyway, in most cases, the proper execution of
piping requires that you explicitly call your .EXE file.
You can't rely on extension/application association.
Thus your command line should be
out.exe | perl.exe in.pl
or at best
out.exe | perl in.pl
: Tillman, James [SMTP:[EMAIL PROTECTED]]
Sent: Wednesday, August 28, 2002 12:47 PM
To: 'Andre Warnier'; Bellenger, Bruno (Paris); perl-win32-users
list
Subject:RE: How to determine Windows Temp Folder?
I believe it falls back to c:\windows (Win9x) or c
: Wednesday, August 28, 2002 11:12 AM
To: Bellenger, Bruno (Paris)
Subject:RE: How to determine Windows Temp Folder?
Ok,
I bow to the master.
From MS Knowledge Base :
quote
GetTempPath
The GetTempPath API function
The Win32::EventLog doc has an often repeated incorrect EventType table.
The correct table is below :
#EVENTLOG_SUCCESS = 0
#EVENTLOG_ERROR_TYPE = 1
#EVENTLOG_WARNING_TYPE = 2
#EVENTLOG_INFORMATION_TYPE = 4
#EVENTLOG_AUDIT_SUCCESS= 8
#EVENTLOG_AUDIT_FAILURE= 16
So
Basic code would be like this :
my
($nowsec,$nowmin,$nowhour,$nowmday,$nowmon,$nowyear,$nowwday,$nowyday,$nowis
dst) = localtime(time());
print $nowhour:$nowmin:$nowsec\n ;
But this raw code will display for instance
14:06:02
like this
14:6:2
so here is some code that will correctly
/Systems Administrator
-Original Message-
From: Hill, David K [SMTP:[EMAIL PROTECTED]]
Sent: Friday, August 09, 2002 5:49 PM
To: 'Bellenger, Bruno (Paris)';
[EMAIL PROTECTED];
[EMAIL PROTECTED]
Cc: 'Michael C. Podlesny'
Subject: RE: Displaying time in PERL
Or you could do
Shortest one so far. And not even bad on the obfuscation criteria.
Well done.
___
Bruno Bellenger
Sr. Network/Systems Administrator
-Original Message-
From: Charbeneau, Chuck [SMTP:[EMAIL PROTECTED]]
Sent: Friday, August 09, 2002 6:50 PM
Message-
From: Bellenger, Bruno (Paris) [SMTP:[EMAIL PROTECTED]]
Sent: Tuesday, May 07, 2002 1:41 PM
To: ''ActiveState's Perl Win32 Users list' '
Cc: 'Lee Goddard'; Flowers, Jay; 'Aaron Trevena '
Subject: RE: Secure platforms DO matter!
Guys,
Interesting as it may be, maybe
Guys,
Interesting as it may be, maybe this thread should be moved to a more
appropriate forum ?
There are lots of excellent and well followed security mailing lists out
there where the mostly '*Nix-against-M$-as-Good-against-Evil' stance of this
discussion would surely get a more vigorous and
system my_command 21 NUL
First time I see this syntax.
As far as I can say, it doesn't work.
The correct form should be :
my_command NUL 21
_
Bruno Bellenger
Sr. Network/Systems Administrator
-Original Message-
I guess your first port of call should be the VB SDK help files and
documentation.
Although I don't have the answer to your exact (current) question, here are
some
pointers that might prove somewhat helpful :
You can have a look at WSH (the Windows Script Host), that allows you, via
XML
Or for that matter, any name that resolves to your machine's IP address.
Create a local HOST file entry to that end if necessary.
_
Bruno Bellenger
Sr. Network/Systems Administrator
-Original Message-
From: Jan Matejka
15 matches
Mail list logo