Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
bat
- Page 1
Add property to standard object
Programming
Web Development
1 Month Ago
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
1 Month Ago
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: ABC for Github-programs and Python
Programming
Software Development
1 Month Ago
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…
Re: Add property to standard object
Programming
Web Development
1 Month Ago
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.
Bat file to move files onto a created subdirectory
Programming
Software Development
14 Years Ago
by eschreibman
Bat
file to move files onto a created subdirectory Hi, I …
Re: .bat triggering
Programming
Software Development
13 Years Ago
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
13 Years Ago
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
12 Years Ago
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
12 Years Ago
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
15 Years Ago
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
13 Years Ago
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
12 Years Ago
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
16 Years Ago
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
16 Years Ago
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
15 Years Ago
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
13 Years Ago
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
13 Years Ago
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
13 Years Ago
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??
Bat File Code run in VB
Programming
Software Development
12 Years Ago
by SI THU
Anybody help me please, how can i run
bat
file code in vb6. can i run it. thanks,for read
Re: Help with .bat file code?
Programming
Software Development
12 Years Ago
by WaltP
BAT
files cannot access the clipboard.
Re: .bat files
Hardware and Software
Microsoft Windows
16 Years Ago
by DimaYasny
installing windows software with a .
bat
? you would need to find the actual setup switches to make it a silent install, and those are product specific
Re: .bat files
Hardware and Software
Microsoft Windows
16 Years Ago
by thunderstorm98
Also you can link .
bat
(MS-DOS Batch Script) through Autorun.inf File.
Re: .bat files
Hardware and Software
Microsoft Windows
16 Years Ago
by jbennet
… packages use a standard set of switches (i wrote a
bat
file to install all MS hotfixes post SP2) [quote=Duki…
Re: .bat files
Hardware and Software
Microsoft Windows
16 Years Ago
by Duki
I've done that, and saved it as a .
bat
file. Didn't work though.
Re: .bat need help with this simple command
Programming
Software Development
15 Years Ago
by eggi
…'t be. You can do a for loop in windows
bat
files like this: Format is: for %VAR in (REGULAR_EXPRESSION) do…
Re: Bat file to move files onto a created subdirectory
Programming
Software Development
14 Years Ago
by Salem
So what have you done so far? Try this at the command prompt [ICODE]for /?[/ICODE] The perhaps [ICODE]if /?[/ICODE] [ICODE]mkdir /?[/ICODE]
Re: passing parameters in bat file
Programming
Software Development
17 Years Ago
by neon123
…; are string variables. Using [inlinecode]Shell "n:\aa.
bat
abc bcd"[/inlinecode] passes the [I]values[/I] …; to the batch file. Using [inlinecode]Shell "n:\aa.
bat
" & abc & " " & bcd[/…jus need the correct code to send the
bat
file name along parameters
bat
file contents are wscript bookinst1.vbs %1…
Re: Autoexec.bat Problems
Hardware and Software
Microsoft Windows
19 Years Ago
by Firedad
… closing dos and running sysedit, the path was in the .
bat
file. I rebooted the machine and the syseditor says it… is no different before and after deleting the .
bat
file The Autoexec.
bat
file is till there I ran the file search… error message comes up stating "System config editor; Autoexec.
bat
cannot open this file" I click OK and the…
Executing bat File Using Java
Programming
Software Development
9 Years Ago
by AbhishekTecnics
…well as no output but when i execute this
bat
file through command prompt,its working Fine..why …().exec("C:\\IBM\\WebSphere\\wp_profile\\PortalServer\\bin\\xmlaccess.
bat
-user admin -password admin -url http://localhost:10039… program "C:\IBM\WebSphere\wp_profile\PortalServer\bin\xmlaccess.
bat
": CreateProcess error=193, %1 is not a…
Autoexec.bat Problems
Hardware and Software
Microsoft Windows
19 Years Ago
by Firedad
… running of these programs, I have no Autoexec.
bat
files. When I run [i]sysedit[/i] …up as it can not read the autoexec.
bat
file. This problem is affecting one program that… needs a command in the autoexec.
bat
file. When I add the path needed in… Does anyone have any ideas why auto exec.
bat
will not save the paths or any other ideas…
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC