Re: auto_create_image.vbs error
Thanks Andy, that worked. Simple mistake on my part. Here's the url: http://wiki.oscr.ncsu.edu/wiki/index.php/Creating_a_base_windows_ESX_image_for_VCL On Fri, Apr 3, 2009 at 2:37 PM, Andy Kurth wrote: > VBS scripts are run using cscript.exe. Try running: > cscript.exe auto_create_image.vbs > > What is the URL of the page you're referring to? It needs to be corrected. > > -Andy > > Melba Lopez wrote: > >> I'm trying to create a base Windows XP image for VCL and following the >> instructions (below) on the wiki, I've come across a problem. >> * >> Instructions on the Wiki: >> * >> >> More stuff to do >>> >>> - On the windows node, run auto_create_image.vbs. This disables the >>> pagefile and reboots the machine. This can be done with: >>> >>> cmd /c auto_create_image.vbs >>> >>> >>> When I try to run auto_create_image.vbs it seems to error out on the >> comments section. I've looked at the file and nothing is apparent on what >> could be wrong because it is commented out. Everything up until this >> point >> has worked fine. >> >> >> *Here's what I could copy from the cmd prompt: >> * >> >> *$ ./auto_create_image.vbs >>> ./auto_create_image.vbs: line 3: $' Licensed to the Apache Softwa >>> ASF) under one or more\n': command not found >>> ./auto_create_image.vbs: line 5: $' this work for additional info >>> ng copyright ownership.\n': command not found >>> ./auto_create_image.vbs: line 7: $' (the "License"); you may not >>> xcept in compliance with\n': command not found >>> ./auto_create_image.vbs: line 9: $'\n': command not found >>> ./auto_create_image.vbs: line 11: $'\n': command not found >>> ./auto_create_image.vbs: line 13: $' distributed under the Licens >>> d on an "AS IS" BASIS,\n': command not found >>> ./auto_create_image.vbs: line 15: $' See the License for the spec >>> overning permissions and\n': command not found >>> ./auto_create_image.vbs: line 17: On: command not found >>> ./auto_create_image.vbs: line 19: syntax error near unexpected to >>> ./auto_create_image.vbs: line 19: `Set oWshShell = CreateObject(" >>> * >>> >> >> >> > -- > Andy Kurth > Virtual Computing Lab > Office of Information Technology > North Carolina State University > andy_ku...@ncsu.edu > 919.513.4090 > -- Melba Lopez milo...@gmail.com
Re: auto_create_image.vbs error
VBS scripts are run using cscript.exe. Try running: cscript.exe auto_create_image.vbs What is the URL of the page you're referring to? It needs to be corrected. -Andy Melba Lopez wrote: I'm trying to create a base Windows XP image for VCL and following the instructions (below) on the wiki, I've come across a problem. * Instructions on the Wiki: * More stuff to do - On the windows node, run auto_create_image.vbs. This disables the pagefile and reboots the machine. This can be done with: cmd /c auto_create_image.vbs When I try to run auto_create_image.vbs it seems to error out on the comments section. I've looked at the file and nothing is apparent on what could be wrong because it is commented out. Everything up until this point has worked fine. *Here's what I could copy from the cmd prompt: * *$ ./auto_create_image.vbs ./auto_create_image.vbs: line 3: $' Licensed to the Apache Softwa ASF) under one or more\n': command not found ./auto_create_image.vbs: line 5: $' this work for additional info ng copyright ownership.\n': command not found ./auto_create_image.vbs: line 7: $' (the "License"); you may not xcept in compliance with\n': command not found ./auto_create_image.vbs: line 9: $'\n': command not found ./auto_create_image.vbs: line 11: $'\n': command not found ./auto_create_image.vbs: line 13: $' distributed under the Licens d on an "AS IS" BASIS,\n': command not found ./auto_create_image.vbs: line 15: $' See the License for the spec overning permissions and\n': command not found ./auto_create_image.vbs: line 17: On: command not found ./auto_create_image.vbs: line 19: syntax error near unexpected to ./auto_create_image.vbs: line 19: `Set oWshShell = CreateObject(" * -- Andy Kurth Virtual Computing Lab Office of Information Technology North Carolina State University andy_ku...@ncsu.edu 919.513.4090
auto_create_image.vbs error
I'm trying to create a base Windows XP image for VCL and following the instructions (below) on the wiki, I've come across a problem. * Instructions on the Wiki: * > More stuff to do > >- On the windows node, run auto_create_image.vbs. This disables the >pagefile and reboots the machine. This can be done with: > > cmd /c auto_create_image.vbs > > When I try to run auto_create_image.vbs it seems to error out on the comments section. I've looked at the file and nothing is apparent on what could be wrong because it is commented out. Everything up until this point has worked fine. *Here's what I could copy from the cmd prompt: * > *$ ./auto_create_image.vbs > ./auto_create_image.vbs: line 3: $' Licensed to the Apache Softwa > ASF) under one or more\n': command not found > ./auto_create_image.vbs: line 5: $' this work for additional info > ng copyright ownership.\n': command not found > ./auto_create_image.vbs: line 7: $' (the "License"); you may not > xcept in compliance with\n': command not found > ./auto_create_image.vbs: line 9: $'\n': command not found > ./auto_create_image.vbs: line 11: $'\n': command not found > ./auto_create_image.vbs: line 13: $' distributed under the Licens > d on an "AS IS" BASIS,\n': command not found > ./auto_create_image.vbs: line 15: $' See the License for the spec > overning permissions and\n': command not found > ./auto_create_image.vbs: line 17: On: command not found > ./auto_create_image.vbs: line 19: syntax error near unexpected to > ./auto_create_image.vbs: line 19: `Set oWshShell = CreateObject(" > * -- Melba Lopez milo...@gmail.com