ur best bet would be either converting the app to javascript and running it that way or rooting it. only if it is your own computer or you do have consent to do so. because it is a federal crime.
first u would need to assemble a group of programs you would need. such as cuteftp. mainly for the support of the exec command. with lets you upload a file and then execute it on the target computer. aka ur office computers say if you were to do a mass upgrade of software. second i recommend a silent version of tightvnc. because sometimes i like to see windows instead of commandline.(ftp) now vnc is hard to turn into a service without already being installed mainly for the password part. with is located in the regisitry. third.. FireDaemon. what is used to create windows services' entries. a few bat files to berun to combine all the services/programs. such as something easy as run.bat copy ftp.zip c:windowsadminftp copy vnc.zip c:windowsadminftp copy fire.zip c:windowsadminftp extract .. c:windowsadminftpstart second.bat second.bat install the services.(its about 4:00am and im kinda tired. nolonger have the programs installed) so just run the FireDaemon program in cmd to find the command lines. and create the services then of course. the third.bat for when it accidently goes down. third.bat netstart 'servicename' and that is how you root your computer. for administrative purposes only and the programs i have listed work best when you have the full version. it does not pay to pirate. in reality you hurt ur self with not getting as quality as products in the future
So, in summary: first, you have to actually run cmd.exe and tell it to execute the batch file (that's just how Winders works, I guess; the CreateProcess OS call isn't smart enough to do this) and you have to make sure your program doesn't exit before the external process runs. Batch Processing in JDBC. Instead of executing a single query, we can execute a batch (group) of queries. It makes the performance fast. The java.sql.Statement and java.sql.PreparedStatement interfaces provide methods for batch processing.
Share Flag
From the menu bar's File menu, select Export. Expand the Java node and select Runnable JAR file. In the Runnable JAR File Specification page, select a 'Java Application' launch configuration to use to create a runnable JAR. In the Export destination field, either type or click Browse to select a location for the JAR file. Usually, the JRE installer registers the.jar file type to be run by javaw.exe (which is another java running command. It is special for Windows to run Java GUI applications without terminals.) command. So you can run.jar just by doble-clicking it. However, this way cannot add options. To add options, you can choice from two ways. Making a.bat file. You can create a batch file with.bat extension with the following contents. Use java for.jar that does not have UI and is a command line application @ECHO OFF start java -jar filename.jar Use javaw for.jar that has a UI @ECHO OFF start javaw -jar filename.jar Please make sure your JAVAHOME is set in the environment variables.
To add batch files to an HTML document, simply place the files name in an 'a href' command like this:
<a href='#file.bat'>Batch File</a> Advanced level mathematics pdf. The # sign tells the computer that the link is internal and not external, so the computer won't try to search the World Wide Web for your file.
Share Flag
Batch File Samples
The code for adding batch files is a href(equal sign)'file.bat' add<and > around a href and the last '.
And then put the word Batch after the last>then place </a>
Share Flag
Hi,
Just create a batch file and save in the location where your html file is there. <a href='test.bat'>TEST</a> this anchor tag will execute the (test.bat) batch file. After clicking on the link <TEST>, you will get the window prompting to open/save/close, if you will click on open then batch file will be executed. But this is not unattended execution, I want that there should not be any prompt to open/save the batch file. Thanks Amit
Share Flag
Hi,
Try this: WshShell = new ActiveXObject('WScript.Shell'); WshShell.Run('explorer file:///D:temp1.bat',1,true); Best regards, Yaacov Pinhas. Execute Batch File From Java Program
Share Flag
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |