bentium
01-04-2008, 11:37 PM
hi!
first post here Smile
i just have a freshly installed windows server 2003 EE. I installed a domain on it (just one with a few OU's and users, for testing around).
now, i want to make some ADSI/LDAP scripts in perlscript (we are learning that on school, so we can create users and such from a script).
so i checked if i had cscript, wich i did. I also checked if i had Wscript version 5.6, what also was present.
Now, my teacher has permitted us only to use perlscript, so i want to activestate's site and downloaded the latest perl version.
i installed it (all went fine), rebooted my computer and gave it a first shot with a stupid small script: contents: print "hello world";
i tried to execute this script by the following command:
cscript //E:PerlScript helloworld.pls
cscript started up, paused for about 2 seconds, for then returning to the prompt, without posting the "hello world" string.
i've checked everything and cant figure out what the h*** is wrong with it.
if i run a vbscript, it just works :s (but i need to work in perlscript!)
do you guys know what is wrong here?
first post here Smile
i just have a freshly installed windows server 2003 EE. I installed a domain on it (just one with a few OU's and users, for testing around).
now, i want to make some ADSI/LDAP scripts in perlscript (we are learning that on school, so we can create users and such from a script).
so i checked if i had cscript, wich i did. I also checked if i had Wscript version 5.6, what also was present.
Now, my teacher has permitted us only to use perlscript, so i want to activestate's site and downloaded the latest perl version.
i installed it (all went fine), rebooted my computer and gave it a first shot with a stupid small script: contents: print "hello world";
i tried to execute this script by the following command:
cscript //E:PerlScript helloworld.pls
cscript started up, paused for about 2 seconds, for then returning to the prompt, without posting the "hello world" string.
i've checked everything and cant figure out what the h*** is wrong with it.
if i run a vbscript, it just works :s (but i need to work in perlscript!)
do you guys know what is wrong here?