Can I pass my username and password as parameters to MSN Messenger from the commandline. To auotmate logging in?
"C:\Program Files\Windows Live\Messenger\msnmsgr.exe". I would like to create a shortcut that automatically logs me in.
Does anyone know how to do this? Aside from saving my credentials via the GUI?
Thanks,
~ck
...
I need a command line that can check the port status on a remote host. I tried ping xxx.xxx.xxx.xxx:161 but it doesn't recognize the "host". I thought it was a "good" answer until I did the same command against a host I know has that port open. This is for a batch file on Windows that will check the status of the remote port then run...
I need to create a layered PSD file with ImageMagick or any other command-line tool available on Linux platform. Since I need to do this on Linux server, I can't use Photoshop scripting.
The ImageMagick command below creates PSD file with a single layer, where two images (here: plasma fractals) are positioned one below another. (I use I...
How can I get the command line GCC uses to invoke ld?
I have a problem for an AVR target where GCC apparently adds a linker option which I am trying to override, so I would like to look at the exact options GCC uses for ld.
...
I have Memcache installed and working for PHP apps run through Apache (v2.2) but when I try to run a .php file in the command-line i get this error:
Fatal error: Class 'Memcache' not found in /usr/local/Matters/app/matters-common/connection.php on line 94
Line 94 is:
$memcache = new Memcache;
Other info:
CentOS 5.2
PHP 5.2.5 (cli)...
I want to list the methods of the class files in the jar using the javap tool. How do I do it so that it lists the methods and members of all the class files in the jar. Right now I am able to do it for just one class at a time.
I am expecting something like if I say
javap java.lang.*
it should enlist the methods and members of all t...
I've always found validation against a schema to be an invaluable ward against thinkos and would like to incorporate validation checks as part of a project where I frequently need to hand-write XML files a few hundred lines in length. My text editor has a fairly nice CLI integration feature, so I'm looking for a command-line validator.
...
I need to run a batch file, with a series of powercfg commands to duplicate the currently active scheme and rename it.
Manually, I would do something like this at the command prompt.
powercfg -getactivescheme
This would give me the GUID of currently active scheme.
powercfg -duplicatescheme <GUID obtained above> <new GUID>
Ideally,...
My application needs to:
Run an external command-line application
Capture the standard output/error during execution
Parse the data from the output/error and use it for status display in the main app
While it's not hard to do it, it seems to me it's a very common task, and I was wondering if there's a library or framework simplifyin...
How do you run Scheme programs from the terminal in linux(ubuntu)? Also how to accept arguments from the command-line in a Scheme program?
Edit: Im using the DrScheme implementation.
...
Not sure if this question is going to make sense or not be here goes:
So I have a some VB that outputs data from some queries. It simply export that resulting dataset from the query out as excel into an excel file, and there are several that do this.
These all trip automatically (open and close events on forms) as a part of a little aut...
Any starting point/ideas for a custom console app which mimics the dos command prompt ?
Basically looking for best practices and ideas for where to start
Perhaps using powershell which frankly i've not looked at yet !
I know this is a little retro but i've found some limitations in the web app done using asp.net mvc etc. ( few of them ...
I am sourcing a file in a bash terminal that needs to export some environment varibles.
Example:
source linux_x86.env
the env file looks kinda like this:
export ARCH=/home/user/project/linux_x86
I have a bunch of different architectures to compile for and I want be able to do something like this:
export ARCH=/home/user/project/...
I have a long list of file names in a txt file, which I generated using
findstr /M "string here" *.* > c:\files.log
The file is about 3mb. Now i want to delete all of those files. I tried del < c:\files.log but that doesn't work. What should I use?
...
is there a simple way to remove the same line of text from a folder full of text documents at the command line?
...
I am implementing a CLI tool using Perl.
What are the best-practices we can follow here?
...
The accepted answer to the question
http://stackoverflow.com/questions/298708/debugging-with-command-line-parameters-in-visual-studio
accurately describes how to set command-line arguments for a given project: "In VS 2008, right click the project, choose properties, go to the Debugging section -- there is a box for command line argumen...
Hi,
I am trying to find way to break / exit from FOR loop, if there are any error occured.
Below is content of batch file.
@echo on
set myfile=D:\sample.txt
FOR /F "tokens=1,2 delims=," %%i in (%myfile%) do call :process "%%i"
:process
set recfile=%1%
echo %recfile%
echo "Step in Test1"
echo %errorlevel%
pause;
exit /B 0
If %errorl...
Thanks to a nice post at http://murphymac.com/tree-command-for-mac/, I have my long lost linux command tree so I can see the complete directory tree with a single command. I've implemented it via a function in my .bash_profile like this...
function tree {
find ${1:-.} -print | set -e "s;[^/]*/; ;g"
}
...but what I would like is a v...
I wrote a simple hello world program to test the JDK installation. I can compile from Vim using:
:!javac Desktop\HelloWorld.java
That works just fine but when I try to run the program using:
:!java Desktop\HelloWorld
it gives me this error:
C:\Windows\system32\cmd.exe /c java "Desktop\HelloWorld"
Exception in thread "main" java....