Windows

encrypting/hidding password in net use command

Hello,

I am trying to invoke net use command in my perl script as follows:

my $cmd = "net use \\\\" . $server . "\\ipc\$ /u:" . $self->{DOMAIN} . "\\" . $self->{USER} . " \"" . $self->{PASSWORD} . "\"";

my @results = `$cmd 2>&1`;

The problem is that if I run the perl script and open Process explorer, my password is visible in cleartext.
I am not sure how I can send an encrypted password or hidden password in this command so that it doesnt show up in process explorer.

Any help is greatly appreciated!

Thanks & Regards,
Plik

VMWare Stackato Zip file won't unzip

Question: 

Do I really need 735 PB to unzip the VMWare Stackato VM?

Answer: 

No you certainly do not. Windows zip program is interpreting the zip file incorrectly and is looking for far more space than it needs. Just download 7zip and use it to unzip your file.

Solved - Load dll in basekit

Hello,

I want to switch from tclkit (created by www.patthoyts.tk) to basekits provided with ActiveTcl. However the basekit from 8.5.12 does not load the udp109.dll when I wrapped my files.

What is the problem?

By the way the basekit lists a package called dyndll. I could not find any information about it. Can anybody give some information about it?

Regards,

Rüdiger

Language / project completion for JSFL language type not working after 7.1.1 update ?

Not sure what's happened here, and I haven't worked on much JSFL stuff for a month or so, but I just got back to an xJSFL project today, and I'm not getting any JSFL (language) or xJSFL (project) autocomplete.

All's that's changed is that I've let Komodo update itself to 7.1.1 (or even 7.1 - I can't remember).

I can create the following "test.jsfl" file...

function test(a, b, c)
{
        alert(a + b + c);
}

test(

...and I get "No calltip found"

Save the same file as "test.js", or change the language to "JavaScript" and I get "test(a, b, c)".

ActivePerl vs Perlbrew

What is the correct sequence to install App::perlbrew and two or more versions of Windows32 ActivePerl on a machine?
I am plagued with various errors, from missing $ENV{'HOME'} to ...
-- Use of uninitialized value in concatenation (.) or string at C:/Perl/site/lib/App/perlbrew.pm line 11.
-- 'which' is not recognized as an internal or external command,
operable program or batch file.
-- The system cannot find the path specified.
-- List form of pipe open not implemented at C:/Perl/site/lib/App/perlbrew.pm line 213.
... when trying to do anything

Typelib reference in WSC not working

Am converting a windows script component that is currently in jscript to python.

Things are mostly working. However while the <object> element in the WSC file has the desired effect the <reference> element does not.

So while having
<object id='FileSystem' progid='Scripting.FileSystemObject' />
in the WSC makes an object named FileSystem available to the script code having an element like this
<reference guid='<some type lib guid>' />
is not bringing the names from typelib into scope.

Fwiw the only thing I want from the typelib is the enumeration.

klint onLoad TypeError: this.treebox is null

I usualy use Komodo Edit 7.1 for developing PHP code, but today it show error 'klint onLoad TypeError: this.treebox is null' at startup.
If I press "OK" main windows is showing but it fully disabled(all menu items and buttons do nothing).

I download trial version of Komodo IDE 7.1 and it crash too.

komodo.exe -v

komodo: debug: Komodo information:
komodo: debug: Version: Komodo Edit 7.1.0 (Build 10496) win32-x86
komodo: debug: OS type: Windows 7
komodo: debug: Komodo startup options:
komodo: debug: nFiles: 0
komodo: debug: mutex name: 'komodo-7.1-mutex'

Node.js debugging just stopped in Komodo when it was working 5 minutes ago!

Question: 

Why won't my Node.js debugging work in Komodo any more?

Answer: 

Node.js was original designed with Posix systems in mind. It uses network calls not available on Windows systems. There was a port done in the open community which is not quite complete so sometimes processes are left running. The debugger thinks it has shut them down but it hasn't.

If you're node.js (or javascript) debugging stops working properly on your Windows machine your problem is most likely that some Node servers have been left behind. This will occur if you prematurely kill the debugger session.

Open your Task Manager and kill any node.js processes still running.

- Carey

Writer.pm

Why can't I install Win32::Word::Writer.PM? Not in PPM list either. It lives in CPAN.

I have perl ver 5.14 and latest PDK.

--cg

file test operator -e returns true for a pair of empty double quotes

Posted this to the 'Perl Discussion' area and got no responses. Sorry for the double post, but, bringing it here, hoping for some feedback.

--------

Have some code that gets its input from another application over which I have no control. The input is supposed to be a list (array) of files (fully qualified path/to/filename).

Sometimes, the feeder includes in the array an element that contains a pair of empty double quotes and nothing else. Unexpectedly, the Perl '-e' operator tells me this is a valid file and that it exists.