Barry Brevik wrote:
> Re: Active Perl 5.8.8 running on Windows.
>
> Back when I was doing some Assembly language programming, there was a
> system call to "yield" to the Windows operating system, in other words,
> give up the rest of your time slice.
>
> Is there
Re: Active Perl 5.8.8 running on Windows.
Back when I was doing some Assembly language programming, there was a
system call to "yield" to the Windows operating system, in other words,
give up the rest of your time slice.
Is there a way to do this with Perl? I'm writing an app th
> cleartool: Error: Element name not found:
>
> "/view/view_PACE6R05/vobs/vbos_verif/devices/PACE6R05/M3/SYS1/module/module.h".
>
>
> Here the element is there in
> clearcase("/view/view_PACE6R05/vobs/vbos_verif/devices/PACE6R05/M3/SYS1/module/module.h),
>
> bcz I checked manually an
>
> Hi Ken,
>
> The element is executable. And please find the output of the cronjob as
> below for your kind reference.
>
>
> Your "cron" job on stingray
>
> /usr/atria/bin/cleartool setview -exec
> /vobs/vobs_verif/tools/DB_cronjobs/Checkout_Reminder.pl view_MAIN
>
> produced the following ou
Hi Ken,
The element is executable. And please find the output of the cronjob as
below for your kind reference.
Your "cron" job on stingray
/usr/atria/bin/cleartool setview -exec
/vobs/vobs_verif/tools/DB_cronjobs/Checkout_Reminder.pl view_MAIN
produced the following output:
cleartool: Err
>
> I forgot to mentione one thing there. If the script is "source check
> in", then I am facing the problem.
Is the element executable? As root, vob owner or element owner do,
'cleartool protect -chmod +x '.
ken1
___
Perl-Win32-Users mailing list
P
ce.
On 10/20/09, Todd Beverly wrote:
>
> Hello.
>
> Perl Perl wrote:
>
>> I have a cronjob and it is working fine, but problem is, *system* command
>> in
>> perl script is not working as per requirement.
>> Please find the snipped, of code as below for you
Hello.
Perl Perl wrote:
> I have a cronjob and it is working fine, but problem is, *system* command in
> perl script is not working as per requirement.
> Please find the snipped, of code as below for your kind reference.
>
> script.pl
>
> if($Difference > 15 )
>
Dear All,
Need your help with respect to the *cronjob setup in Solaris and
Undo checkout operation in Clearcase*.
I have a cronjob and it is working fine, but problem is, *system* command in
perl script is not working as per requirement.
Please find the snipped, of code as below for your
To: Geoff Horsnell; perl-win32-users@listserv.activestate.com
Subject: Re: Perl Tk system button
> ---Original Message---
> From: Geoff Horsnell
> Subject: Perl Tk system button
> Sent: Sep 11 '09 17:02
>
> Is it possible to change the image in the system menu bu
> ---Original Message---
> From: Geoff Horsnell
> Subject: Perl Tk system button
> Sent: Sep 11 '09 17:02
>
> Is it possible to change the image in the system menu button (The red Tk
> button in the top left hand corner of all GUI windows)? I would lik
Chase
Sent: Friday, September 11, 2009 3:57 PM
To: Geoff Horsnell
Cc: perl-win32-users@listserv.activestate.com
Subject: Re: Perl Tk system button
Importance: Low
Greetings Geoff,
Searching the perl install folder for images, I come up with Tk.xpm in
perl/lib/tk which looks exactly like the re
ge it. good luck finding an image
editor that can save in xpm format. let me know if you find one as I have
wanted to do the same thing.
Friday, September 11, 2009, 3:02:46 PM, you wrote:
Is it possible to change the image in the system menu button (The red Tk button
in the top left hand corner o
Is it possible to change the image in the system menu button (The red Tk
button in the top left hand corner of all GUI windows)? I would like to add
my own icon in place of this symbol.
Cheers
Geoff
___
Perl-Win32-Users mailing list
Perl
On approximately 9/7/2009 1:17 PM, came the following characters from
the keyboard of Jares, Howard M:
> I need to calculate the password expiration date for users in Active
> Directory.
>
> This is basically done by obtaining the domain maxPwdAge which is a 64
> bit value that represents how
I need to calculate the password expiration date for users in Active Directory.
This is basically done by obtaining the domain maxPwdAge which is a 64 bit
value that represents how often the users password must be changed.
I also need to obtain the date that the user last changed his/her passwor
Greetings. New user here.
I have interfaced with Oracle plenty of times in perl scripts
my $sql = qq{sdfsdfsdfsdfsdfsdf};
my $sth ...
($x, $y ..) = $sth->get..
But I have never collect binary files for the purpose of saving them in a local
directory.
I need some examples of how others do t
0, Chang Min Jeon wrote:
>hello
>
>I trying to modify file using perl one line like below.
>
>my $cmd = "perl -pi -e's/aaa/bbb/' ";
>
>open(MAKEFILES, '<', $ARGV[0]) or die "file open error";
>my @filelist = ;
>foreach my $fi
gt; foreach my $file (@filelist) {
> chomp($file);
> my $command = $cmd.$file;
> print $command,"\n";
> !system($command) or die "shell command not work";
> }
> close(MAKEFILES);
>
> but system function does not work.
>
> It print
>
&g
From: perl-win32-users-boun...@listserv.activestate.com
[mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of
mohammed.must...@wipro.com
Sent: 13 May 2009 06:30
To: jcm1...@gmail.com; Perl-Win32-Users@listserv.ActiveState.com
Subject: RE: use system() function
> Hi Chang
From: perl-win32-users-boun...@listserv.activestate.com
[mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of
Chang Min Jeon
Sent: 13 May 2009 01:14
To: Perl-Win32-Users@listserv.ActiveState.com
Subject: use system() function
> hello
>
> I trying to modify file using
2009 2:05 PM
To: Mohammed Mustafa (WT01 - PES-Semi-Technology)
Cc: Perl-Win32-Users@listserv.activestate.com
Subject: Re: use system() function
Hi mustafa
Thank you for your help.
I changed following code but it still doesn't work.
my $cmd = "perl -pi -e's/aaa/bbb/' ";
27; ./Windowset/Common/Makefile.gmk
: No such file or directory.mmon/Makefile.gmk
failed
./Windowset/Special/Makefile.gmk
perl -pi -e's/-+g -+dwarf2//' ./Windowset/Special/Makefile.gmk
: No such file or directory.cial/Makefile.gmk
failed
2009/5/13
> Hi Chang Min Jeon,
>
> Pleas
Hi Chang Min Jeon,
Please use back stick operator here, instead of system command,
because system command doesn't return anything.
Replace the system command with,
$Result = `$command`;
If ($Result) {
Print " appropriate message \n";
} else {
print &quo
hello
I trying to modify file using perl one line like below.
my $cmd = "perl -pi -e's/aaa/bbb/' ";
open(MAKEFILES, '<', $ARGV[0]) or die "file open error";
my @filelist = ;
foreach my $file (@filelist) {
chomp($file);
my $command = $cmd.
Wow you're good! The problem was that $dest needed "chomp $dest". So your "\n"
theory was correct.
THANKS!
> From: [EMAIL PROTECTED]
> To: perl-win32-users@listserv.activestate.com
> Date: Wed, 12 Dec 2007 16:15:04 +0100
> Subject: Re: System Calls
>
&
From: Jerry Kassebaum <[EMAIL PROTECTED]>
> On my Windows XP this line:
>
> `copy $source\\$_ $dest`;
>
> will copy files from c:\whatever\whatever\file.ext to the directory
> the Perl script is in, but not to $dest. How do I make it copy to
> $dest?
>
> FYI, $source="c:\\whatever\\whatever"; s
D]
770.977.4676
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jerry Kassebaum
Sent: Tuesday, December 11, 2007 10:48 PM
To: perl-win32-users@listserv.ActiveState.com
Subject: System Calls
On my Windows XP this line:
`copy $source\\$_ $dest`;
will copy f
=head
Background: Juniper VPN creates an icon in the Windows XP's tray.
Clicking on this icon brings up a dialog box titled "Network
Connect" with buttons labeled ">", "Hide" and "Sign Out".
Here's some code to get started with accessing this item from a
perl script and selecting "
Hello again,
I found something titled "Getting a list of apps
shown in system tray":
http://www.codeguru.com/forum/archive/index.php/t-4707.html
and another thing titled "How To Manipulate Icons in the
System Tray with Visual Basic" at
http://support.micr
I don't know much about Icons in the System Tray,
but one way is to use Win32::GuiTest and click the mouse.
Mext script click the right-most top Icon in "MY pc".
My pc has 3 Icons in 1 columns. (you know what I mean)
The script click "I4"!
---
I found the following http://support.microsoft.com/kb/q162613/
titled "How To Manipulate Icons in the System Tray with Visual
Basic" but cannot figure out how to use that information to
access items in Windows XP's System Tray and manipulate them.
Here's my intere
Hello,
How do I access items in Windows XP's System Tray and manipulate them?
(Juniper VPN creates an icon in the Windows XP's tray.
Clicking on this icon brings up a dialog box titled
"Network Connect" with buttons labeled ">", "Hide"
a
Download Scriptomatic from Microsoft. It has a good WMI browswer in it.
That's what I'ld do to look for anything.
At 05:33 PM 9/11/2006 +0200, StoneBeat wrote:
>Hi, i want to code a program that if it is running on a laptop system do
>something but if the host is not a laptop, d
Hi, i want to code a program that if it is running on a laptop system do
something but if the host is not a laptop, do another.
Im thinking in registry keys, WMI querys ... but really I dont know where
search to "fingerprint" the hos
le to the user - it shows up as a process, but not
> as an Application.
>
> How I'm invoking it is:
>
> $d='"start c:\windows\system32\cmd.exe"';
> # Form command invocation - must be a background process and visible to
> user
> system(1,$d);
Work
rd Bosco [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 08, 2006 9:43 AM
To: Timothy Johnson; Jan Dubois; $Bill Luebkert; D D Allen
Cc: perl-win32-users@listserv.ActiveState.com
Subject: RE: Spawining interactive processes [was RE: System (1, 'start
command'). [was Re: How spawn independen
2006 11:08 AM
To: Edward Bosco; Jan Dubois; $Bill Luebkert; D D Allen
Cc: perl-win32-users@listserv.ActiveState.com
Subject: RE: Spawining interactive processes [was RE: System (1, 'start
command'). [was Re: How spawn independentcommandlineutilities in their
own Command Processors?]]
*a
]
[mailto:[EMAIL PROTECTED] On Behalf Of
Edward Bosco
Sent: Thursday, June 08, 2006 6:51 AM
To: Jan Dubois; $Bill Luebkert; D D Allen
Cc: perl-win32-users@listserv.ActiveState.com
Subject: RE: System (1, 'start command'). [was Re: How spawn
independentcommandlineutilities in their o
not
as an Application.
How I'm invoking it is:
$d='"start c:\windows\system32\cmd.exe"';
# Form command invocation - must be a background process and visible to
user
system(1,$d);
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Jan Duboi
system(1, @args) acts basically the same as a fork/exec. If for whatever
reason u run into a problem with it u can just do ur own fork. If u want to
fire and forget there is also the async() method in use threads.
if (fork) {
#we forked
}
else {
exec @args; #child
On Wed, 07 Jun 2006, $Bill Luebkert wrote:
> D D Allen wrote:
> > Is this undocumented functionality of the system call available
> > on Win32 or is there documentation somewhere that explains what
> > it does?
>
> Not much:
>
> perlp
I noticed that your solution uses the
construct "system( 1, 'start command' )". A month or so
ago, I saw this construct used in a posting to this list and added it to
a Perl/Tk script to launch a web page in the default browser. Control
is immediately returned to the callin
D D Allen wrote:
>
> I noticed that your solution uses the construct "system( 1, 'start
> command' )". A month or so ago, I saw this construct used in a posting
> to this list and added it to a Perl/Tk script to launch a web page in
> the default browser.
At 03:21 PM 5/19/2006 -0700, Timothy Johnson wrote:
>The SYSTEMMODAL flag should be enough. It won't disable all of the
>other windows, but it will be on top of all other windows and won't go
>away until it is acknowledged. If you want to be really sure they
>acknowledge it, you could make a real
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Lyle Kopnicky
Sent: Friday, May 19, 2006 2:38 PM
To: Jack D.
Cc: Perl-Win32-Users@listserv.ActiveState.com
Subject: Re: A system modal dialog box?
> The end-users have a time limit to use the sys
Jack D. wrote:
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Lyle Kopnicky
Sent: May 18, 2006 6:41 PM
To: Perl-Win32-Users@listserv.ActiveState.com
Subject: A system modal dialog box?
Hi folks,
I need to create a dialog box in my application that
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Lyle Kopnicky
> Sent: May 18, 2006 6:41 PM
> To: Perl-Win32-Users@listserv.ActiveState.com
> Subject: A system modal dialog box?
>
> Hi folks,
>
> I need to crea
ge-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Lyle Kopnicky
Sent: Thursday, May 18, 2006 5:41 PM
To: Perl-Win32-Users@listserv.ActiveState.com
Subject: A system modal dialog box?
Hi folks,
I need to create a dialog box in my application that prevents the user
from doing anythin
Hi folks,
I need to create a dialog box in my application that prevents the user
from doing anything else on the system until OK is clicked. That is, the
user may not interact with any other windows, of any applications,
during this time. It would be best if the dialog box was asynchronous
Hi,
when I use
Tk::MainWindow(..)
with
system(..)
the system-call slows down. In Debug-Mode (Komodo) the last line will
never be reached!!!
Example:
use Tk;
MainWindow->new(-height => 1)->messageBox(-message =>'Hallo ');
system("
Paul Sobey wrote:
> Jim Hill wrote:
>
> > Instead of running all day with a cmd shell with system account
> > privileges, I think it would be safer if only the scripts which
> > need such privileges are able to obtain them at runtime
>
> Have you considered psexe
mark pryor wrote:
> Foo Ji-Haw <[EMAIL PROTECTED]> wrote:
> > Jim Hill wrote:
> > > mark pryor wrote:
> > >
> > > > You can use the WinXP schtasks utility to run a script
> > > > in the SYSTEM account.
> >
> > > I can'
$Bill Luebkert in <[EMAIL PROTECTED]>:
> Jim Hill wrote:
> > mark pryor wrote:
> > > Jim Hill <[EMAIL PROTECTED]> wrote:
> > >
> > > > [...] is there a better, safer way
> > > > of gaining system account status within a perl scri
> Instead of running all day with a cmd shell with system account
> privileges, I think it would be safer if only the scripts which
> need such privileges are able to obtain them at runtime for
> themselves.
>
> Unfortunately, I have no idea how to go about that.
Have you
Foo Ji-Haw <[EMAIL PROTECTED]> wrote: >> You can use the WinXP schtasks utility to run a script>> in the SYSTEM account.>> >> I can't, I'm afraid. I'm running win2k with no plans to change.> There is a Perl library that can automate the Window
You can use the WinXP schtasks utility to run a script
in the SYSTEM account.
I can't, I'm afraid. I'm running win2k with no plans to change.
There is a Perl library that can automate the Windows scheduler, for
bot
Jim Hill wrote:
> mark pryor in
> <[EMAIL PROTECTED]>:
>
>>--- Jim Hill <[EMAIL PROTECTED]> wrote:
>>
>>>[...] is there a better, safer way
>>>of gaining system account status within a perl script?
>
> Thanks for the response, Mark.
&g
mark pryor in
<[EMAIL PROTECTED]>:
> --- Jim Hill <[EMAIL PROTECTED]> wrote:
>
> > [...] is there a better, safer way
> > of gaining system account status within a perl script?
Thanks for the response, Mark.
> You can use the WinXP schtasks utility to run a s
d I, are assuming that
> this is a
> permissions problems but we can't get to the bottom
> of it. If
> anyone has encountered similar problems, we'd
> appreciate some
> pointers in the right direction.
>
Jim,
You can use the WinXP schtasks utility to run a script
in the S
ght direction.
Scripts, both perl and javascript, can access the control if they
are run from a cmd prompt with system account privileges. The
only way I know to achieve that is to exploit a bug in the win2k
scheduler. At the time specified ...
| c:\scripts> at 1:25 /interactive cmd
| Added a
identifier of the tool which created
the profile. The fourth line is a comment. The fifth line contains three
variables holding the user time, system time, and realtime of the
process while it was being profiled. The sixth line indicates the
beginning of the sub entry/exit profile section.
The columns
$line =~ /\w*\w*\w*/; },
'CASE 2' => sub { $line =~ /\w/g; }, });Good Luck!
From: "Robert Killheffer" <[EMAIL PROTECTED]>To: Subject: System resources used by P
duled tasks> under the Windows scheduling system. Can I use the
time command in that> context? Perhaps through a system call from the script? Like I said, I'd> like to be able to gather this data automatically while the script
is> running, and output it to a log each time.> > - R
I'm testing several different algorithms for performing the same task, and
I'm wondering if there is some way I can tell - from within each version of
my script - how much memory and CPU time the script uses each time it runs.
I would like to be able to output this information to a log, so that I
box, the ported Unix "time"
command is there which will give you the CPU time and the "resident set size":
time -v dir...Command being timed: "dir" User time (seconds): 0.03
System time (seconds): 0.01 Percent of CPU this job got: 195% Elaps
I’m testing several different algorithms for
performing the same task, and I’m wondering if there is some way I can
tell – from within each version of my script – how much memory and
CPU time the script uses each time it runs.
I would like to be able to output this information to a log,
Hi Sisyphus,
Tuesday, September 6, 2005, 5:38:38 PM, you wrote:
S> Indeed I do problems like this always arise from the "other" change
S> that one has made (ie the change that one has forgotten about :-)
Definitely been there :-]
While not directly in response to your question, I vote for
- Original Message -
From: "$Bill Luebkert" <[EMAIL PROTECTED]>
>
> > From: "Chris Wagner" <[EMAIL PROTECTED]>
> >>Another execellent example of why u should use explicit path names to
> >>commands in system() calls..
&g
Sisyphus wrote:
> From: "Chris Wagner" <[EMAIL PROTECTED]>
>>Another execellent example of why u should use explicit path names to
>>commands in system() calls..
>>
>
> I don't see how that would have helped.
> If I understand you
- Original Message -
From: "Chris Wagner" <[EMAIL PROTECTED]>
To: "'perl-win32-users'"
Sent: Wednesday, September 07, 2005 4:54 PM
Subject: Re: system("rmdir...") not working like it once did
> Another execellent example of why u shoul
At 01:07 PM 9/7/05 +1000, Sisyphus wrote:
>
>Yep - that covers everything very clearly. I was indeed confused by what the
>"screwed up rmdir" was doing. It never occurred to me that it might be
>doubling the backslashes.
U don't need to quote the whole damn message to add on a little reply.
CHEE
Another execellent example of why u should use explicit path names to
commands in system() calls..
At 11:48 AM 9/7/05 +1000, Sisyphus wrote:
>> > D:\pscrpt>perl try.pl
>> > hello world
>> > hello\tworld
>> > rmdir: `hello\\tworld': No
- Original Message -
From: "$Bill Luebkert" <[EMAIL PROTECTED]>
To: "Sisyphus" <[EMAIL PROTECTED]>
Cc: "perl-win32-users"
Sent: Wednesday, September 07, 2005 11:55 AM
Subject: Re: system("rmdir...") not working like it once did
&g
till puzzled by that backslash-escape issue, however:
>
> D:\pscrpt>type try.pl
>
> use warnings;
> $z1 = "hello\tworld";
The \t above becomes a tab (0x09) in $z1.
> print $z1, "\n";
> $z2 = "hello\\tworld";
The \\ above becomes a \ in
On Tue, 06 Sep 2005, Sisyphus wrote: "Randy Kobes" wrote:
> I'm still puzzled by that backslash-escape issue, however:
>
> D:\pscrpt>type try.pl
>
> use warnings;
> $z1 = "hello\tworld";
> print $z1, "\n";
> $z2 = "hello\\two
- Original Message -
From: "Jan Dubois"
> > D:\pscrpt>type try.pl
> >
> > use warnings;
> > $z1 = "hello\tworld";
> > print $z1, "\n";
> > $z2 = "hello\\tworld";
> > print $z2, "\n";
>
nothing about the S and Q switches. So it's not
surprising that it thinks that /S and /Q are directories.
I'm still puzzled by that backslash-escape issue, however:
D:\pscrpt>type try.pl
use warnings;
$z1 = "hello\tworld";
print $z1, "\n";
$z2 = "hello\\tworld"
the same _problem_ with ping in the past on a W2k system.
Calling ping the ping.bat in the Perl\bin directory was used, calling
ping.exe the OS ping was used.
Now I have XP the the OS commands are used.
regards,
Reinhard
Sisyphus wrote:
- Original Message -
From: "Conor Lillis&quo
Sisyphus wrote:
> Hi,
>
> Can anyone make sense of this:
>
> D:\math-mpfr\build58\cpan>type try.pl
>
> use warnings;
> if(system("rmdir /S /Q Math-MPFR-1.07\\t")) {die "Failure"}
I would use File::Path::rmtree instead.
> D:\math-mpfr\build
- Original Message -
From: "Conor Lillis" <[EMAIL PROTECTED]>
To: "'Sisyphus'" <[EMAIL PROTECTED]>; "perl-win32-users"
Sent: Tuesday, September 06, 2005 10:53 PM
Subject: RE: system("rmdir...") not working like it onc
On Tue, 6 Sep 2005, Sisyphus wrote:
Hi,
Can anyone make sense of this:
D:\math-mpfr\build58\cpan>type try.pl
use warnings;
if(system("rmdir /S /Q Math-MPFR-1.07\\t")) {die "Failure"}
D:\math-mpfr\build58\cpan>perl try.pl
rmdir: `/S': No such file or directo
Title: RE: system("rmdir...") not working like it once did
I had the same issue and tracked it down to multiple versions of rmdir on my PC. The one in the path wasn't necessarily the one that PERL was trying to use. Once I explicitly set it to use d:\utils\rmdir (or whatever)
Hi,
Can anyone make sense of this:
D:\math-mpfr\build58\cpan>type try.pl
use warnings;
if(system("rmdir /S /Q Math-MPFR-1.07\\t")) {die "Failure"}
D:\math-mpfr\build58\cpan>perl try.pl
rmdir: `/S': No such file or directory
rmdir: `/Q': No such file or
minating program" message when I CTRL-C break the
program.
> C:\WINDOWS\Desktop>perl
> $a = `hostname`;
> print $a;
> ====
> attic
>
> C:\WINDOWS\Desktop>perl
> $a = system("hostname");
> print $a;
>
> attic
> 0
> C:\
I'm on 98SE and it seems to work OK for me. Are u sure ur program is
printing to STDOUT and not STDERR?
C:\WINDOWS\Desktop>perl
$a = `hostname`;
print $a;
attic
C:\WINDOWS\Desktop>perl
$a = system("hostname");
print $a;
attic
0
C:\WINDOWS\Desktop>
A
?
when i call this executable from Perl, on my WinXP system, and assign its
resulting output to a variable, it works great. i'm able to parse the result
for the values im looking for.
but when i call this executable from Perl on a Win98 system, it will not assign
the resulting output at all. it
e this to the other people in my group to see if it
solves the problem.
Thanks for everyone's help.
Roy Olsen
What about using Win32::Process::Create?
- Original Message -
From: "Roy Olsen" <[EMAIL PROTECTED]>
To:
Sent: Friday, July 01, 2005 11:56 AM
Subject: sy
What about using Win32::Process::Create?
- Original Message -
From: "Roy Olsen" <[EMAIL PROTECTED]>
To:
Sent: Friday, July 01, 2005 11:56 AM
Subject: system() Conundrum
>
> I have a Perl script that receives programs and other files from a host
> system for ed
Roy Olsen wrote:
> I have a Perl script that receives programs and other files from a host
> system for editing. Once the file is transferred the script launches my
> text editor and passes it the name of the file. It works fine for me and
> several colleagues. However, on one
I have a Perl script that receives programs and other files from a host
system for editing. Once the file is transferred the script launches my
text editor and passes it the name of the file. It works fine for me and
several colleagues. However, on one user's brand new system (with X
nlike UNIX's ^D).
> Anyway, just to reiterate my point, because James sent me a reply
> offline as well:-
> c:\perl\Programs>perl
> system "cmd /C date /t";
> system "cmd /C time /t";
> print scalar localtime, "\n";
> print scalar gmtime, "\
Anyway, just to reiterate my point, because James sent me a reply
> offline as well:-
> c:\perl\Programs>perl
> system "cmd /C date /t";
> system "cmd /C time /t";
> print scalar localtime, "\n";
> print scalar gmtime, "\n";
> ^Z
>
---8<
^Z on windoze
---8<
^D or ^Z I still have to hit enter after it. Unless theres a subtle
difference that I'm missing.
Anyway, just to reiterate my point, because James sent me a reply
offline as well:-
c:\perl\Programs>perl
system "cmd /C da
Allegakoen, Justin Devanandan wrote:
> On one of my WinXP machines I notice the following:
>
> c:\Perl\Programs>perl
> system("date /t");
> system("time /t");
> print scalar localtime;
> ^D
^Z on windoze
I have to use an explicit shell call:
sys
On one of my WinXP machines I notice the following:
c:\Perl\Programs>perl
system("date /t");
system("time /t");
print scalar localtime;
^D
Thu 01/13/2005
03:26 PM
Thu Jan 13 07:26:44 2005
c:\Perl\Programs>
Im in a GMT +8hrs timezone and the system time reports that corr
ee www.roth.net.
>
> > -Original Message-
> > From:
> [EMAIL PROTECTED]
> [mailto:perl-
> > [EMAIL PROTECTED] On
> Behalf Of Marie-eve URVOY
> > Sent: Wednesday, December 08, 2004 5:34 PM
> > To: Paul Sobey
> > Cc: Perl-Win32
> > Subject: RE: run
Win32::AdminMisc
See www.roth.net.
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:perl-
> [EMAIL PROTECTED] On Behalf Of Marie-eve URVOY
> Sent: Wednesday, December 08, 2004 5:34 PM
> To: Paul Sobey
> Cc: Perl-Win32
> Subject: RE: run a process as System a
There are 3rd party tools like psexec (sysinternals.com) that will allow you to
run as local system.
You could shell out to execute it from within you PERL App.
- Aaron
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Erik Felton
Sent: Wednesday
Hello,
My first thought was to use the 'runas' command:
runas /user:MyMachineName\SYSYEM cmd
However this prompts for a password. After poking around google, and
consulting the resident Windows guru, the SYSTEM user does not have a password.
And, according to the guru, the o
1 - 100 of 222 matches
Mail list logo