Forums

Forums (http://www.abandonia.com/vbullet/index.php)
-   Tech Corner (http://www.abandonia.com/vbullet/forumdisplay.php?f=23)
-   -   Scripting Windows Xp Or 2000 (http://www.abandonia.com/vbullet/showthread.php?t=7668)

swiss 18-10-2005 06:16 PM

did anyone ever make some steps to scripting the MS Operating Systems ?

I have a specific folder that needs to be made a hotfolder for some tasks (e.g. resizing the images, sending them via email, etc.)

with my MAC I can simply use AppleScript (which I a quite a semipro in) and someone just told me there could be something like it in XP or 2000, too.

I do NOT mean batch procession with the CommandShell.

any help ?

Reup 19-10-2005 11:56 AM

i think this is what M$ invented VBScript fpr. I haven't tried anything in it though... the MSDN has a rather in-depth page on it.

Nikson 19-10-2005 12:16 PM

yes, vbs files are what you're looking for.
They're also great for completely destroying windows computers, in less than 10 lines of code.
It only takes 4 lines to shut down or restart your computer, and only 5 to format a drive :P

Fruit Pie Jones 19-10-2005 04:12 PM

Quote:

Originally posted by Nikson@Oct 19 2005, 06:16 AM
It only takes 4 lines to shut down or restart your computer, and only 5 to format a drive :P
That's rather inefficient, since it only takes one line from a command prompt to do the same thing!

As for scripting, let's not forget Perl.

Danny252 19-10-2005 09:20 PM

they were planning a scipting option in Vista/Longhorn, but this will now only be on the server version due to secutiry reasons, although the servers will still be at risk. They might have removed it from there too.

swiss 20-10-2005 05:59 PM

thank you guys .. then it's VBScript for me ... uhuu ... another programming language ... :max:

Nikson 20-10-2005 10:31 PM

Quote:

Originally posted by Fruit Pie Jones+Oct 20 2005, 02:12 AM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td>QUOTE (Fruit Pie Jones @ Oct 20 2005, 02:12 AM)</td></tr><tr><td id='QUOTE'> <!--QuoteBegin-Nikson@Oct 19 2005, 06:16 AM
It only takes 4 lines to shut down or restart your computer, and only 5 to format a drive :P
That's rather inefficient, since it only takes one line from a command prompt to do the same thing! [/b][/quote]
Maybe so, but after you write the code and save it to a .vbs file, it only takes a double-clcik to execute it :w00t:

Rogue 21-10-2005 12:21 AM

Quote:

Originally posted by swiss@Oct 20 2005, 12:59 PM
thank you guys .. then it's VBScript for me ... uhuu ... another programming language ... :max:
VB is easy.

There is a lot of stuff online to learn from...

http://groups.msn.com/windowsscript/logonscripts.msnw


The current time is 01:34 AM (GMT)

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.