I was downgraded from Vista to XP for reasons that are not relevant.
由于无关紧要的原因,我被从Vista降级为XP。
I found very useful the snipping tool which is not available in XP so I decided to create my own.
我发现在XP中没有的剪切工具非常有用所以我决定自己创建。
alt text http://img81.imageshack.us/img81/8851/snip251609121640.png
替代文字http://img81.imageshack.us/img81/8851/snip251609121640.png
It works just fine so I put it int .cmd file for easy launching ( I didn't feel like creating the .jar file )
它工作正常,所以我把它.cmd文件,以便于启动(我不想创建.jar文件)
My only problem now is the command prompt screen pops up and disappear giving an unpleasant effect.
我现在唯一的问题是命令提示屏幕弹出并消失,给人一种不愉快的效果。
This is it:
就是这个:
echo off
start javaw -classpath lib\myutil.jar;classes recortes.Main
Is there a way the command just run without blinking ? ( other than creating the .jar file? )
有没有办法命令只运行而不闪烁? (除了创建.jar文件?)
EDIT
I have followed the advice of Jeffrey. I had a shorcut to the .cmd file, now the shortcut it self has the following:
我听从了杰弗里的建议。我对.cmd文件进行了切换,现在它自带的快捷方式如下:
"C:\Archivos de programa\Java\jre6\bin\javaw.exe" -classpath lib\myutil.jar;classes -Djava.util.logging.config.file=logging.properties recortes.Main
Start in:
C:\Users\oreyes\recortes
And works just fine!
工作得很好!
Thanks
1 个解决方案
#1
Create a shortcut (.lnk) file which contains the path to the executable with arguments. See KB244677 for information on how to do this from a script.
创建一个快捷方式(.lnk)文件,其中包含带参数的可执行文件的路径。有关如何从脚本执行此操作的信息,请参阅KB244677。
#1
Create a shortcut (.lnk) file which contains the path to the executable with arguments. See KB244677 for information on how to do this from a script.
创建一个快捷方式(.lnk)文件,其中包含带参数的可执行文件的路径。有关如何从脚本执行此操作的信息,请参阅KB244677。