Hi,
I have a silent installation of SQL Server 2005 that works great when installing SQL Server on a machine that does not have it already installed. I use the following parameters when I perform the installation:
#define SQL_SILENT "/passive /qb"
#define SQL_USERNAME "username=MyUserName"
#define S...
I need to do a recursive grep in Windows, something like this in Unix/Linux:
grep -i 'string' `find . -print`
or the more-preferred method:
find . -print | xargs grep -i 'string'
I'm stuck with just cmd.exe, so I only have Windows built-in commands. I can't install Cygwin, or any 3rd party tools like UnxUtils on this server unfort...
I use vim as my editor but I would like to get some of the same power of the IDE's for java when it comes to refactoring. Are there any commandline tools for refactoring java? I could probably hack something together using perl or vim scripting but if there is something already out there I'd rather use that.
...
Hi. I want to do some calendar manipulations in bash - specifically, I want to figure out the last date of a given month (including leap-year, and a preparing a table for a lookup is not a valid solution for me).
Supposedly I have the following code:
$year=2009
$start_month=2
$end_month=10
for $month in $(seq $start_month $end_month); ...
From the windows command line, I need to echo out either the local or utc date and time of the system, but with the parts of the datetime in the order I want, regardless of the current internationalization setting of the pc.
I've seen this related question:
http://stackoverflow.com/questions/203090/how-to-get-current-datetime-on-windows...
I always deal with data files that consist of many data blocks of the following format:
*name* attr (
VALID (
late_lead_up xxx ar uclk reff xxx slope xxx
late_lead_dn xxx af uclk reff xxx slope xxx
early_trail_up xxx af uclk reff xxx slope xxx
early_trail_dn xxx ar ...
I need to enable the "Allow service to interact with desktop" option in the service properties through command line. How to accomplish that. I tried the "sc" command. But I can't achieve what I need.
...
We have a script to backup files. After the backup operation is over, we would like to send a report as an email notification to some of our email addresses.
How could this be done?
...
I need to simulated a Linux command line utility "cal -3" where it will displays three calendar side by side. What I need right now is to get my pipe working. I've been told that I can't use fork(), rather using dup2() and write(), read(), close() to call system("myCustomCommand") tree times. Right now my program does not display calenda...
I'm 15 years old and I want to learn how to program computers. I like to think I'm more experienced with computers than the average person, I use the command prompt every day and I know how to access the command line in the command prompt but I have no idea what programs I should start with and what language to use. Would I be better off...
I am trying to detect whether the 'a' was entered as the first string argument.
...
Hi guys me again :)
I'm wanting to list the files that are in the recycle bin in Vista from the command line. So far I have this..
dir C:\$Recycle.Bin /s /b >> recyclebin.txt
That does alright, the output I get is this..
C:\$Recycle.bin\S-1-5-21-931442927-344369455-2477061601-1000\$I2H8K48.zip
C:\$Recycle.bin\S-1-5-21-931442927-...
Hi SO,
I'm trying to find a generic way to replicate this C functionality:
int main(int argc, char** argv){
fprintf(2,"%s: error you did something wrong.\n", argv[0]);
return 1;
}
in java. So far the only way was to hardcode this into the app, which is ugly. I'd like to get something similar to:
someObj.getClass().getSimpleN...
I came across the following and I am wondering what implications it is going to have on my cygwin/gnu environment should I be using something other than -o to name the output from a compile? Has there been some new standard adopted and do other compilers adhere to it?
What would be the motivation for removing -o?
DOS PROMPT>type c...
I am trying to control a console application (JTAG app from Segger) from Python using the subprocess module. The application behaves correctly for stdout, but stdin doesn't seem to be read. If enable the shell, I can type into the input and control the application, but I need to do this programmatically. The same code works fine for i...
I would like to keep my ssh command hidden/disguised from other users.
Example:
ssh user@host -i /my/private/key
Unfortunately this will come up in the ps listing and other users will be able to see the private key file that I am using. Is there a way around this?
(They are logged in as the same user as I am)
...
Page-scraping on the Internet has seem to have hit somewhat of a wall for me, as there are more and more sites that are dependent on JavaScript for rendering portions of the screen.
It seems to me that with so many open source layout and JavaScript renderers released (like WebKit, Gecko and Chromium + V8) that someone must have made a t...
Amazon's official tools for interacting with EC2 are kind of clunky and a pain to deal with. I have to set up a bunch of environment variables, store separate private keys just for EC2, add extra items to my PATH, and so on. They all output tab delimited lines that are hundreds of characters long with no headings, so it's a bit of a pain...
Dear all how can I see the list of the stored procedures or stored functions in mysql command line like show tables; or show databases; commands.
...
Are there command line merge tools for windows? I'm thinking in terms of tools that can be used in conjunction with other tools (e.g. git, unison) to resolve conflicts.
Actually, it doesn't need to strictly be command-line based, as long as it "cooperate" with other command line tools (as I mentioned, git for example), then it's fine.
...