Remote Informix 11.5 Command Line Client
Does a command line tool ship with Informix 11.5 similar to SQLCMD for SQL Server? If yes, how do I connect to a remote server and perform regular SELECT/INSERT/UPDATE queries using it? ...
Does a command line tool ship with Informix 11.5 similar to SQLCMD for SQL Server? If yes, how do I connect to a remote server and perform regular SELECT/INSERT/UPDATE queries using it? ...
As the title says i am looking for a way to search through stackoverflow.com using only the command line specifically bash in linux. Things I need to accomplish : I just need to get the top 10 answers for my question or even top 5. Plain Text Output , i.e. strip HTML out if possible. Also I would prefer if you didnt giv...
OK, i know there is a way you can get command prompt to display a log of what programs connect to the internet and stuff, but i don't know what the command is. I'm using windows vista. ...
I need to write a command in a .bat file that recursively deletes all the folders starting with a certain string. How may I achieve this ? ...
Suppose I have a file of five lines with IP addresses: 1.2.3.4 5.6.7.8 5.6.7.8 9.9.9.9 5.6.7.8 I need to find the average number of times every IP is repeated consecutively. In this example, every sequence of the same IPs has the length of 1, except for 5.6.7.8, which is repeated twice. So, for this example the answer is (1 + 2 + 1 + ...
How can I make an option accept only some specified values like in the following example: $ java -jar Mumu.jar -a foo OK $ java -jar Mumu.jar -a bar OK $ java -jar Mumu.jar -a foobar foobar is not a valid value for -a ...
I am working on a series of command line tools which connect to the same server and do related but different things. I'd like users to be able to have a single configuration file where they can place common arguments such as connection information that can be shared across all the tools. Ideally, I'd like something that does the follow...
I am rather new to using the command line and php. That being said I have been trying to figure out how to use ImageMagick with the exec() function. I have this currently, $command="/usr/local/lib/ImageMagick convert images/a.pdf images/a.png"; if(exec($command)){ echo 'yes'; } else{ echo 'no'; } Which is returning 'no'. ...
A beginner question. I am trying to use the command line arguments in a GUI (.NET + WPF) C# application. I've read that in VB.NET exists something like My.Application.CommandLineArgs but i haven´t found the C# equivalent. I have hacked the Main function in the application class to include the string[] argv parameter and pass it to the ...
I'm hoping there's a way to play with environment variables to achieve this because I need to access this in a Windows command shell. I found the directory in [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders] Desktop, but I have no idea how to access this information from a command shell! %UserPr...
I am using below sql statement to create shared folder with permission EXEC xp_cmdshell 'net share BackupSharedFolder=D:\testshared /REMARK:"test shared"' It is working fine with create shed folder. then i will use below sql command to remove shared EXEC xp_cmdshell ' net share BackupSharedFolder /delete"' Above is also working fine ...
I'm looking for a program that semi-automatically builds a GUI for a Windows command line program. That is, I want to give it an arbitrary command line program and somehow describe its usage ("It takes a list of filenames, and the --foo and --bar options followed by a string") and it will create a new GUI wrapper program that allows sel...
I get a new project coming across my desk on an hourly basis. They all adhere to a very strict format, so it isn't terribly difficult to create a new project from scratch every time, but it is something that I should be able to do from a script that just constructs and builds the entire project. It would save me a helluva lot of time t...
I have need to grep an entire directory for a string, and I get about 50 results. I would like to colour each second line, either text colour or background colour. Best would be a script that I can pipe the output of any command to, and so that it spits out the same (albeit coloured) output. ...
I have a file runContractExports.xml which is as below I set two parameters region and Env beforing executing this file. Now I have a commandfile where i am using the above file for execution The content of the command file is @echo off set PWDDIR=%~dp0 cd %PWDDIR% call eniron.bat set CLA...
I'm a web developer who is increasingly using Vim to code web sites. Are there any HTML validation utilities (or techniques) out there that will take whatever file I'm working on and validate against its DOCTYPE without leaving the shell? T ...
Guys, Has anyone ever managed to compile there Delphi 6 & 7 (NOT any Delphi > 7 ) project using the command line? All the instructions i see are not very clear on what exactly need to go where! Am looking for step by step kind of instructions. Answers should be limited to Delphi 6 & 7, i understand Delphi2006 and > uses MSBuild which...
Using Delphi 2009 (or higher) and the ITE (Internal Translation Manager), how can I build the language projects from the command line? The projects are for example Project\Languages\DEU\Project_DEU.bdsproj Project\Languages\ENG\Project_ENG.bdsproj Theses bdsproj files are not MSBuild projects, so do I have to call DCC32 and pass all ...
I want to put context-sensitive, dynamic command options on my asp.net pages. I tried coding my own command structure but it's not very good, and I'm sure there must be a framework for doing this somewhere I can re-use? Example: I have a detailsview for some database object, I want to code in the object class what commands are availab...
I am looking for the switch that will set the default SaveAs path for a word document when calling it from the command line. It seems like the /p parameter exists for Excel but I haven't found any similar switch for WinWord. Does it exists? ...