Re: ABC for Github-programs and Python Programming Software Development by Reverend Jim …. You activate the virtual environment by typing MyVirtual\scripts\activate.bat and deactivate by either closing the command shell, or running… MyVirtual\scripts\deactivate.bat They really just play with environment variables so that all… Add property to standard object Programming Web Development by Dani I, very hackily, create an object of type stdClass as so: $arr = array( 'foo' => 'bar', 'baz' => 'bat' ); $obj = json_decode(json_encode($arr)); How can I now quickly add a third property to $obj without PHP getting angry? Re: Add property to standard object Programming Web Development by jkon I completely agree with you with the "hackily" part , but here it is: $arr = [ 'foo' => 'bar', 'baz' => 'bat' ]; $obj = json_decode(json_encode($arr)); $obj->newProperty = "something"; var_export($obj); exit; Re: Add property to standard object Programming Web Development by Dani > $obj->newProperty = "something"; For some reason I thought that PHP didn't allow that without throwing an error?! (Hence the reason for me posting this question). I'm on PHP 8.2/8.3. Re: Change-a-Letter-or-Two-Game Community Center Geeks' Lounge by christina>you bat Re: Change-a-Letter-or-Two-Game Community Center Geeks' Lounge by christina>you bat Re: Change-a-Letter-or-Two-Game Community Center Geeks' Lounge by jaepi bat Re: Change-a-Letter-or-Two-Game Community Center Geeks' Lounge by jasimp bat Bat file to move files onto a created subdirectory Programming Software Development by eschreibman Bat file to move files onto a created subdirectory Hi, I … Re: Help with .bat file code? Programming Software Development by WaltP BAT files cannot access the clipboard. Re: Word Association Game Community Center Geeks' Lounge by meksikatsi bat--> ballgame Re: Favorite Song Lyrics: Community Center Geeks' Lounge by riotchika ...Bat Country by Aveneged Sevenfold.... He who makes a beast out … Re: Word Association Game Community Center Geeks' Lounge by GreenDay2001 Bat ->Batman Re: Word Association Game Community Center Geeks' Lounge by ndeniche bat -> swing Re: Time To Wake everyone up - Words Within Words Community Center Geeks' Lounge by jasimp bat, tattles, as, effective Re: Time To Wake everyone up - Words Within Words Community Center Geeks' Lounge by nav33n bat ate date Bored Re: Time To Wake everyone up - Words Within Words Community Center Geeks' Lounge by maui_mallard bat cat rat Design Re: .bat triggering Programming Software Development by kmb90 … its more convenient to have an .exe trigger the .bat Because the commands will change frequently and to save the… hassle of constantly converting updated .bat's And the reason for this is because other users… And the second with the "123" triggering a .bat, well thats curiosity to be honest :) I seen my friend… .bat triggering Programming Software Development by kmb90 ….exe or Notepad.exe or whatever.exe this triggers Example.bat to run and perform its pre-assigned commands If not… to do this using .vbs scripts? Or even better a .bat programmed to run when certain events are true like a… notepad the characters "123" this would trigger a .bat file to run. Any help is appreciated :) Sorry If I… Re: .bat file open a java file Programming Software Development by DavidKroukamp [QUOTE=scheppy;1753807]I know that .bat isnt java, but I dont know were …. on my desktop i want to make a .bat file that when i click on it it open …the folder and runs it? im never made a .bat file how do i accomplish this?[/QUOTE] check here…coderanch.com/t/385909/java/java/Running-Java-program-bat-file[/url] , jsut remeber rename your batch textfile… .bat file open a java file Programming Software Development by scheppy I know that .bat isnt java, but I dont know were else to place … and sounds. on my desktop i want to make a .bat file that when i click on it it open the… in the folder and runs it? im never made a .bat file how do i accomplish this? bat file in vb.net setup project Programming Software Development by srikanth.cpd i have user mscomm.ocx in my vb.net project. i need to register the control in client machine at installation time i craeted a bat file which has the following code regsvr32 \s mscomm32.ocx. plz tell me how to include bat file in setup project. and how to make it to run first when installation starts plzzzz help me Thanks bat script check ping output Programming Software Development by k2k i am trying to write a bat script to ping a machine if it is up. i am trying to do something like this [code] if "ping xxxMachine | findstr reply" echo "xxxMachine is up" else echo "xxxMachine is down" [/code] the syntax is definitely wrong, does anyone know if this is doable with bat scripting? Re: Bat File Code run in VB Programming Software Development by kain_mcbride … THU;1705778]Anybody help me please, how can i run bat file code in vb6. can i run it. thanks,for… read[/QUOTE] bat, as in .bat file code? you could use the shell function. been… .bat file Hardware and Software Microsoft Windows by Duki … REM Date: 11-14-2007 REM Contact: - REM Description: This .bat file is to copy necessary .cui, .mnl, and .mnr files… .Bat file - use of "&" in iexplore cmd??... Programming Software Development by NuGG I have created a bat file to launch 3 browser windows with different URL's, … .bat file to place text in clipboard? Programming Software Development by nathanpacker Hey, I need to write a little .bat script that will place a predetermined string of characters into … bat script question Programming Software Development by k2k … command and set the returned value to the variable... can bat script do that? how about the if statement? thanks. bat script run on cmd only??? Hardware and Software Microsoft Windows by k2k I have a bat script that if i run it on cmd it is working fine. However, if I right click and run as admin it broke. Has anyone seen this behavior? Re: bat script run on cmd only??? Hardware and Software Microsoft Windows by rch1231 How do you know it is broke and not running? have you tried adding pause statements to the bat file to force it to show the command line results. which version of windows??