you may have some user permission issues getting that deep into the os my thinks
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jason Barnes Sent: Wednesday, March 30, 2005 5:06 PM To: CFAussie Mailing List Subject: [cfaussie] Wscript Hi, Does anyone have any experience with getting coldfusion to interact with windows script. Specifically things like system environment etc? I can connect ok to network object and shell object but can't get environment object to work. e.g <!--- Try to connect to the Wscript.Network COM object ---> <cftry> <!--- If it exists, connect to it ---> <cfobject type="COM" name="objWshNet" class="Wscript.Network" action="CONNECT"> <cfcatch> <!--- if the object doesn't exist, create it ---> <cfobject type="COM" name="objWshNet" class="Wscript.Network" action="CREATE"> </cfcatch> </cftry> <cftry> <!--- If it exists, connect to it ---> <cfobject type="COM" name="objWshShell" class="Wscript.Shell" action="CONNECT"> <cfcatch> <!--- if the object doesn't exist, create it ---> <cfobject type="COM" name="objWshShell" class="Wscript.Shell" action="CREATE"> </cfcatch> </cftry> Basically for an intranet project (help desk submit form) i need to get the users memory amount, computer manufacturer and computer model. Is this even possible with cf? Thanks, Jason. --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/ --- You are currently subscribed to cfaussie as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
