VBS : need help <o/

Bonjour le cf,

I'm rly in need of a vbs hero that could help me out to do something, i am basicaly trying to make a machine joining the company domain automatically, thing is : at the execution of the script i have to do the following :

script.vbs arg1 arg2 arg3 arg4

as my 4th arg i'd like to put the computer name, so i thought about using %COMPUTERNAME% but it seems like it's not working, so here is my question :
How can I put a env.variable as argument for a vbs script?

Thx, chicks if you find the solution

ps: used google, this is shit
ps2: vbs is shit
Comments
5
/UNBINDALL
1 sec search :

http://forums.techarena.in/windows-server-help/1169892.htm

Dunno if its the right one cba to read it myself
more or less, i did see that, but i wanted to use windows variable and get it as argument ^^
Parent
cf not the right place to get answer on this anway ;p
Parent
was hanging around and cba registering on some nerd forum for a simple vbs question so i thought some of cf members could figure this out fast :))
Parent
Back to top