Hello all. I'm working on a website that requires a flash mp3 player. I have absolutely no idea the procedures from messing with flash/actionscript/flex etc., however I need to edit the flash very slightly (I need to add two lines of code). There are a multitude of tutorials out there for setting up a flash (or flex or whatever) developm...
I noticed that the bash shell can suggest command line switches for your command.
Just type your command, a dash (-) and type tab. The shell will show you available switches.
For example, try:
andy@andyx:~$ java -
and press tab - Surprise!
The question is:
How do I interface with this feature. I.e., if I write a program that is ...
With bash, I can complete a command with TAB. Normally, it should also complete the command line switches: e.g. when I typed:
java -
it should show me the possibilities. It does not. How can I enable this preview?
See also Surprise! the shell suggests command line switches
...
I'm working on a Bruce Eckel exercise on how to take a keyboard command line input and put it into an array. It's supposed to take 3 separate inputs and place them into an array and print them back out.
Here is the code I have so far:
//: object/PushtoArray
import java.io.*;
import java.util.*;
class PushtoArray {
public stati...
We use grep, cut, sort, uniq, and join at the command line all the time to do data analysis. They work great, although there are shortcomings. For example, you have to give column numbers to each tool. We often have wide files (many columns) and a column header that gives column names. In fact, our files look a lot like SQL tables. ...
I'd like to get the parent directory of a file from within a .bat file. So, given a variable set to "C:\MyDir\MyFile.txt", I'd like to get "C:\MyDir". In otherwords, the equivalent of dirname() functionality in a typical UNIX environment. Is this possible?
...
Hello all. I'm adding a small .swf object (XSPF Web Music Player) to a site I'm working on. I need to add two lines of code to make external javascript calls, so, I guess I need to re-compile to actionscript (please forgive me, I'm extremely new to flash). I'm using MTASC to compile at the command line. I'm getting errors at the start of...
Problem:
I have a python script that I have running as a service. It's a subclass of the win32 class win32serviceutil.ServiceFramework. I want a simple straightforward way of sending arbitrary commands to it via the command line.
What I've looked at:
It looks like the standard way of controlling the service once it's started is by...
Is it possible to use cut and have unprintable characters be the delimiter? For example I'd like to have the "^A" characters (also represented as \001) be the delimiter.
...
Just installed GhostScript 8.54 for Windows. Does anyone know of the minimum parameters to pass to gswin32c.exe to make it convert, say, someFile.eps to someFile.eps.pdf?
...
I'm new to ant. I'm looking to a way to do this
I have a folder, with a variable number of subfolders. Suppose subfolders are s1,s2,s3...,sN (N is not known)
I need to create and execute this command line
java -jar myjar.jar s1\ s2\ s3\ ... sN\
I would like to use standard task, but I do not know how to list folders on the command l...
In c#.Net I am not able to fetch the commandline argument properly.
It has problems in case i give the command like:
myProgram.exe "c:\inputfolder\" "d:\output.txt"
due to the backslash character(which i think acting as an escape character) in the args[] array i am getting only one argument instead of two
It works fine if i gave witho...
Say I have 8b1f 0008 0231 49f6 0300 f1f3 75f4 0c72 f775 0850 7676 720c 560d 75f0 02e5 ce00 0861 1302 0000 0000, how can I easily get a binary file from that without copying+pasting into a hex editor?
...
Hi All,
I need to download two Excel files onto the client, and then run a (diff) executable against them. I know how to download a single Excel file, from
here. But how to download a second one automatically in succession? And then how to run a batch command on them? Is this even realistic? Any guidance or pointers would be gr...
Hi all,
I'm using TeamCity 4 to do CI with MSBuild. My problem is that when I try to copy file to the QA server, the msbuild fails, but if I change the script to copy locally it work. I've tried mapping the remote share as a local drive and still it doesn't seems to work.
This is my task on MSBuild:
<Exec Command="$(BATCH_PATH)deploy_D...
I need to get a backup dump of a large (~8gb) svn repository. My current method involves using svnadmin dump to a file and then using 7-Zip to compress and split the file.
> svnadmin dump c:\path\to\myrepo > c:\svndump.svn
> 7z svndump.svn svndump.7z // or whatever the correct syntax is
I was wondering if there would be a way to ...
I want to create a command line program using PHP. How do I design the program's I/O?
I can send output as text. I am wondering about the specific output syntax. For example: In HTML i use <br/> to pass to a new line. How can I do this using terminal/file output? Is there a reference for terminal/file oriented programming in PHP?
...
Hello *,
I am trying to use tf.exe command line to setup a new workspace. I don't like the idea installing Team Explorer and therefore required Visual Studio.
Running tested command from the other machine where VS is installed causes security exception on this one since I am trying to connect to the TFS via https. I get the error strin...
What's the best way in C# to set up a utility app that can be run from the command line and produce some output (or write to a file), but that could be run as a Windows service as well to do its job in the background (e.g. monitoring a directory, or whatever).
I would like to write the code once and be able to either call it interactive...
I'm creating a Powershell script to deploy some code and part of the process is to call a command-line compression tool called RAR.EXE to back-up some folders.
I'm attempting to dynamically build out the parameters and then have powershell call the command with the variables but I'm running into trouble. It isn't working...
Run the fo...