VBS : need help <o/
•
18 Apr 2012, 15:24
•
Journals
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
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
http://forums.techarena.in/windows-server-help/1169892.htm
Dunno if its the right one cba to read it myself