How to call 7Zip's file manager from Powershell?
Hello,
I need to call 7zip's file manager to extract some files. Did anybody try this before?
I appreciate any suggestions.
Not sure what you mean by "call 7Zip's file manager."
But you can run the 7z.exe program from the PowerShell command line just fine; e.g.:
PS C:\> & "C:\Program Files\7-Zip\7z.exe" x "C:\Test Files\Test File.zip"
-- Bill Stewart [Bill_Stewart]
Similar Messages
-
How to call windows help files .hlp from Java program
Hai all everybody
How to call windows Help file that is xxx.hlp files from java programs
any help great!!!!
regards
veeruHow about
Runtime.getRuntime().exec("start xxx.hlp"); -
How to call a jar file from oracle forms (6i)
Hi,
I'm working with oracle 6i. I want to know that how to call a .jar file from forms menu. when I use HOST('<path>\test.jar') it is working in 'Client Server' any way. but the problem is I use application server in order to run my form. so my form is in the server and I run the form via clients web browser. in that case above solution will not work. if any body knows how to overcome this problem please reply.
thanks.
dumindaI created a bean area and set the class name as implementation class. within that java bean class I called to a bat file which consists of the execution command of the jar file ( because i don't know how to call .jar file from my bean class directly).
then i tried to run it in application server. its still not running.
can you tell me what i have to do within my bean class? or can you suggest any solution?
thank you. -
How to call a .jsp file from Applet
Could any one guide me how to call a .jsp file from a Applet using action Event.
Thankshttp://javaalmanac.com/cgi-bin/search/find.pl?words=URL+post
-
How to call a .jar file from a java bean?
any body knows how to call a .jar file from a java bean?
Crosspost!
http://forum.java.sun.com/thread.jspa?messageID=4349619 -
How to call a .bat file from java code?
How to call a .bat file from java code? and how can i pass parameters to that .bat file?
Thanks in advancethanks for ur reply
but still i am getting the same error.
I am trying to run a .bat file of together tool, my code looks like below
import java.lang.Runtime;
import java.lang.Process;
import java.io.File;
class SysCall{
public static void main(String args[]){
String cmd="D://Borland//Together6.2//bin//Together.bat -script:com.togethersoft.modules.qa.QA -metrics out:D://MySamples//Metrics// -fmt:html D://Borland//Together6.2//samples//java//CashSales//CashSales.tpr";
//String path="D://Borland//Together6.2//bin//Together.bat ";
Runtime r= Runtime.getRuntime(); //Declare the system call
try{
System.out.println("Before batch is called");
Process p=r.exec(cmd);
System.out.println(" Exit value =" + p.exitValue());
System.out.println("After batch is called");
/*can produce errors which must be caught*/
catch(Exception e) {
e.printStackTrace();
System.out.println (e.toString());
I am getting the below exception
Before batch is called
java.lang.IllegalThreadStateException: process has not exited
at java.lang.Win32Process.exitValue(Native Method)
at SysCall.main(SysCall.java:17)
java.lang.IllegalThreadStateException: process has not exited -
hai,
Im uploading a .css file and some images in Apex shared components ,now how to call the css file and images from my Application.... plz tell me detailed.....
Edited by: anoo on Nov 3, 2008 12:51 AMHi Anoo,
Sorry, didn't see that you'd started a new thread, so have answered this in 'undefined' is null (or) not an object "
Andy -
How can I assign image file name from Main() class
I am trying to create library class which will be accessed and used by different applications (with different image files to be assigned). So, what image file to call should be determined by and in the Main class.
Here is the Main class
import org.me.lib.MyJNIWindowClass;
public class Main {
public Main() {
public static void main(String[] args) {
MyJNIWindowClass mw = new MyJNIWindowClass();
mw.s = "clock.gif";
And here is the library class
package org.me.lib;
public class MyJNIWindowClass {
public String s;
ImageIcon image = new ImageIcon("C:/Documents and Settings/Administrator/Desktop/" + s);
public MyJNIWindowClass() {
JLabel jl = new JLabel(image);
JFrame jf = new JFrame();
jf.add(jl);
jf.setVisible(true);
jf.pack();
I do understand that when I am making reference from main() method to MyJNIWindowClass() s first initialized to null and that is why clock could not be seen but how can I assign image file name from Main() class for library class without creating reference to Main() from MyJNIWindowClass()? As I said, I want this library class being accessed from different applications (means different Main() classes).
Thank you.Your problem is one of timing. Consider this simple example.
public class Example {
public String s;
private String message = "Hello, " + s;
public String toString() {
return message;
public static void main(String[] args) {
Example ex = new Example();
ex.s = "world";
System.out.println(ex.toString());
}When this code is executed, the following happens in order:
1. new Example() is executed, causing an object to constructed. In particular:
2. field s is given value null (since no value is explicitly assigned.
3. field message is given value "Hello, null"
4. Back in method main, field s is now given value "world", but that
doesn't change message.
5. Finally, "Hello, null" is output.
The following fixes the above example:
public class Example {
private String message;
public Example(String name) {
message = "Hello, " + name;
public String toString() {
return message;
public static void main(String[] args) {
Example ex = new Example("world");
System.out.println(ex.toString());
} -
How to call the XML file as PrivateResourcePath in JSP
Hi All,
I want to call the layer-config.xml values in JSP dropdown list. How to call the XML file as PrivateResourcePath in JSP... please advise me if any solution.
locaiton: dist/PORTAL-INF/layer-config.xml
<?xml version="1.0" encoding="utf-8" ?>
- <layer-config>
- <system>
<layer>Test</layer>
<internal>true</internal>
</system>
- <system>
<layer>Test1</layer>
<internal>false</internal>
</system>
- <system>
<layer>Test3</layer>
<internal>false</internal>
</system>
</layer-config>
Thanks in advance.Hi,
The below link may help you.
[Accessing image from dist/imgaes folder inside JSPDynpage Component;
Regards,
Suresh Bachimanchi -
How to call that javascript file?
I developed javascript for automated pdf files. But i don't know how to call that javascript file from outside of acrobat. Kindly advice me the various way to use that script. This is for acrobat 8.0 for windows platform.
You can place Acrobat JavaScripts in various form elements, document actions, documents, and the application folder or user application folder. See the Acrobat JavaScript API Reference and Guide fo rmore information, http://www.adobe.com/devnet/acrobat/javascript.html .
From within Acrobat's JavaScript's debugging console, one can use the following code to locate the JavaScript folders used by Acrobat/Reader:
function JSInfo() {
/* define function to report JS information */
// some basic system information
console.println(app.viewerType + ' ' + app.viewerVersion + ' is running on ' + app.platform);
// user level script folder
try {
var userJS = 'User level JS folder: ' + app.getPath("user","javascript");
} catch(e) {
var userJS = "User has not defined use JS folder level scripts";
console.println(userJS);
// application level script folder
try {
var appJS = 'Application level JS folder: ' + app.getPath("app","javascript");
} catch(e) {
var appJS = "There are no defined application level JS folder level scripts";
console.println(appJS);
return;
} // end of JSInfo function
JSInfo(); // call the function -
How do i recover a file deleted from iCloud on my iPad
how do i recover a file deleted from iCloud on my iPad? It's a pages document
check at https://www.icloud.com/ to see if the file is saved there in documents or iCloud drive
if not check under settings > iCloud > storage > manage storage and see if there is a backup of the iPad from when the document was still saved
if there is restoring your iPad form that backup may recover it
Restore your device from an iCloud or iTunes backup - Apple Support
if there is not then check to see if it is still saved on any other computers or devices to see if it is saved there
good luck -
How to call the XML file as Private
Hi All,
I want to call the layer-config.xml values in JSP dropdown list. How to call the XML file as PrivateResourcePath in JSP... please advise me if any solution.
locaiton: dist/PORTAL-INF/layer-config.xml
<?xml version="1.0" encoding="utf-8" ?>
- <layer-config>
- <system>
<layer>Test</layer>
<internal>true</internal>
</system>
- <system>
<layer>Test1</layer>
<internal>false</internal>
</system>
- <system>
<layer>Test3</layer>
<internal>false</internal>
</system>
</layer-config>
Thanks in advance.Hi,
The below link may help you.
[Accessing image from dist/imgaes folder inside JSPDynpage Component;
Regards,
Suresh Bachimanchi -
How do I move a file directly from the desktop to a folder in OX 10?
I am new to Mac and the Mountain Lion software. Having worked exclusively with PC operating systems, I am familiar with how to work with files in Windows, but am having trouble doing similar actions in OX 10. How do I move a file directly from the desktop to a folder in OX? Although this answer is likely in a video tutorioal (somewhere), I do not have the time to sit an arbitrarily watch generic OS videos that give a broad brush overview, without answering specific queries. Any help out there?
You might fun http://www.apple.com/support/macbasics/ to be of help to get used to doing things the Mac way.
Allan -
How to call a .jar file in JSP
Hi Folks,
I would like to know how to call a .jar file in a JSP page..
Thanks in adv.Any web app creating tutorial can. You know, if this doesn't ring a bell with you at all, I don't really feel inclined to explain it to you because I think you shouldn't yet be dealing with JEE in the first place.
http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/WebComponents3.html -
How to call a custom controller method from view
Hi,
I ve created a simple web service and consumed it in a model. Mapped the input & output parameters to custom controller context which in turn mapped to component controller's context which in turn to view's contexts.
How to call a custom controller method from view?
Please explain the syntax.
Regards,
Manoj.Hi Patralekha,
Give some idea for the below scenario:
I ve created a simple web service and consumed it in a model. What I did was
1) for the input parameters, mapped the node from view->custom controller->model
2)for the output parameter, mapping from model->custom controller->view.
It works fine.
But I don't want to access model nodes directly, rather I want to set the input param in somewhere else (like custom controller) before calling the appropriate method, same for the response also.
Share me your thoughts.
Regards,
Manoj.
Maybe you are looking for
-
A Sysprep question on SID changes
Hello, I have an issue with Sysprep and the Generalize option in WIN 7. According to all M/S conventional wisdom I need to run this pass to remove COMPUTER NAME and SID's on a machine that I am going to deploy to the field multiple times. I have cre
-
Connection error while performing basic settings SOLMAN 4.0 SP12
Hi All, We are currently facing a problem while performing Solution Manager 4.0 (SP12) basic configurations through the IMG Wizard. Within the "Initial Configuration Part I" section, an error while connecting to SAP is obtained (This is the full erro
-
Help library installation in SAP R/3 4.7
Hi All, I have installed Help library in my server and added the path in SR13- under new entries and given the path of EN. But when I open the SAP Library it is showing the following error Could not find file "10.121.4.36\EN\e18e5134\1a06084d\e100000
-
If I create a new library using any Excel/Word template - DOC, DOTX, XLS, XLTX and then upload a XLSX document (or docx) then some of my clients experience issues opening the document. My work around in the past has been to resave the document as XL
-
Ive tried to link my podcast page in various place like feedburner, when I put my rss they all tell me there is a 404 error, but my link is working! what does it means? http://web.mac.com/preacherallanrich/iWeb/Preacher%20Allan%20Rich/Radio%20%28pod