We have a C# app that launches (mainly) Excel based programs, passing user information etcetera via the command line, e.g:
"C:\Program Files\Microsoft Office\Office12\EXCEL.EXE"
"C:\Program Files\Some Folder\ExcelApp.xlsm"
A/SimonCowen88/MyPaSsWoRd/OtherInfo/...
On some users' machines this method causes ExcelApp.xlsm to 'open...
Hi, I'm running Linux and i put some files in svn's ignore list. Now i want to remove it. How could I do that? Command line svn...
Thank you
...
This description is valid for Linux 32 bit:
When a Linux program begins, all pointers to command-line arguments are stored on the stack. The number of arguments is stored at 0(%ebp), the name of the program is stored at 4(%ebp), and the arguments are stored from 8(%ebp).
I need the same information for 64 bit.
Edit:
I have working code...
Hi,
assuming the following xml as input
<root><element1>value1</element1><element2>value2</element2></root>
I would like to create a CLI with it's options created automatically from the XML elements
For example:
Enter value for element1:
Enter value for element2:
element1 and element2 are extracted from the XML input. Is there an...
I have about 2000 subfolders in one folder, in each of these folders there are .pdf files. I need a unix command that will move all these files up one folder.
...
I am trying to make ssh connection via putty through Java to a remote server. I was able to do it
from double clicking the putty.exe and doing ssh.
How do I be able to do it from command prompt. I get invalid port number message. But it works via putty.exe(GUI)
I am using :
c:> putty.exe -ssh -l username -pw password -m someCommandto...
I've got a Maven project that runs perfectly inside Netbeans. How can I execute the application from the command-line (without Netbeans)?
...
pydoc does not work in Windows. at this post http://stackoverflow.com/questions/3391998/pydoc-is-not-working-windows-xp the last answer by dave webb says to create a pydoc.bat file with this code in it:
@python c:\Python27\Lib\pydoc.py %*
After I create pydoc.bat where should it be placed so the pydoc command works in the command prom...
I am writing a Ruby CLI (Command Line Interface) program and I would like to be able to call subcommands similar to what rails does when you call rails generate ... or rails server etc. Can anyone point me in the right direction on how to do this?
...
In bash, executables such as mplayer and imagemagick's "convert" have a cool auto-complete functionality on their command line arguments. For instance, if I type
mplayer <tab><tab>
in one of my folder, then mplayer will list all media files located in that folder, and only the media files.
Similarly, if I type
convert -<tab><tab>
...
Hi Guys,
I am not very experience with java and this is driving me crazy. I wrote a java program "FileManagement" and I need to run it from the command line.
I can compile it from the command line with "javac FileManagement/*.java" which will create all the classes in that folder but when I try "java FileManagement.Main" it says "Excep...
I am trying to get a screenshot of a site that is password protected using IECAPT, any ideas on how I could pass in the creds?
...
Hey,
I am writing a Java app to shutdown my Linux box remotely.
The desktop app sits and waits for a command to be sent to it. I have tried using "shutdown -h" but this requires sudo privileges and is not an option. I then found a way to shutdown without sudo using the following dbus-send solution:
dbus-send --print-reply --system -...
I want to be able to do this for a script. I'm essentially re-creating the entire version history of some code in git - it currently uses a different version control system. I need the script to be able to add in the commits to git while preserving the commit's original author (and date).
Assuming I know the commit author and the date/t...
So i have this program that takes 3 scores out of a possible 200 each then is supposed to get the average and display the percentage. but when i input numbers i get 00.0 as an answer.
What could i be doing wrong?
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication1
{
c...
Is there a way to load a Windows Phone Application into the Windows Phone emulator via the command line? I would like to be able to run Jeff Wilcox's test runner during an automated build. Something along the lines of
"C:\Program Files (x86)\Microsoft XDE\1.0\XDE.exe" "C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v7.0\Emulation\I...
I have an command line interpreter (or "line-oriented command interpreter" in the python docs for the cmd module) for a program that I'd like to add command line utility interface to. For example, now a session looks like this: (% for shell prompt, :) is my custom prompt)
% tasks (invokes command line interpreter)
:) clockHours Teachin...
I try to start my selenium test using command line but test are fired to http://mycomputer and not to http://mycomputer/myapplication
D:\projectsnet\Production\MyWebTests\tools\selenium-server>java -jar selenium-
server.jar -Dhttp.proxyHost=mycomputer -Dhttp.proxyport=4444 -htmlSuite "*firefox" "ht
tp://mycomputer/myapplication/" "D:\my...
Hello SO community,
Yet another issue along my web development escapades that has me quite stumped. I recently had to decompile a swf file using the Trillix SWF Decompiler. I now need to recompile the directory (flex project) Trillix has given me. I do not have flex builder nor plan on learning or using it ever so I donwloaded the co...
Hi All,
I have a scenario in my webapp where i want to execute some shell command on the client , so is their any way i can achieve this using javascript. Their is a method "exec" in php but i think that will execute command at the server end.
Thanks in Advance,
Vinay
...