Command line commandsWithin a PowerBuilder application, how do I create an association so that
all files with no extension are opened with notepad? I am using InsertFile
command. I know we can use the command line 'assoc' command but I don't
know how to include it in PowerBuilder code.
I am using PowerBuilder 6.5
Thanks
Mangala
You could probably do that with the run function. However, you should be
careful because most directories don't have extensions. I don't know what
kind of behavior that will cause.
Mike
...
How to pass command line arguments to an extension using a command line on MacOSI am developing an extension that processes some command line options.
I want to invoke the Firefox from a command line like this:
> ...../firefox -myarg1 -myarg2
I am running into a problem on Mac OS. When I run such command when
there is no FireFox running it works fine. However if I run the
command again I get an error saying that there is already an instance
of Firefox running and only one instance can run at a time
(paraphrasing here). I have tried to use the -remote option but no
luck.
Does anyone know how to solve this problem? Does anyone know if
invoking of chatzill...
How to pass command line arguments to an extension using a command line on MacOS?I am developing an extension that processes some command line options.
I want to invoke the Firefox from a command line like this:
> ...../firefox -myarg1 -myarg2
I am running into a problem on Mac OS. When I run such command when
there is no FireFox running it works fine. However if I run the
command again I get an error saying that there is already an instance
of Firefox running and only one instance can run at a time
(paraphrasing here). I have tried to use the -remote option but no
luck.
Does anyone know how to solve this problem? Does anyone know if
invoking of chatzill...
KDE4 icons and command line commands
I'm running Suse 11.3 with KDE4.
I have an icon in my Kickoff Application Launcher for xterm. When
I click on the icon, it apparently executes the command
/usr/bin/xterm which generates a large window with a large font.
I would like to get a smaller window with a smaller font. I know
how to do that on a command line but to execute the command
I need to _already_ have a window open so I can run the command.
So how do I (a) add a new icon to the KDE launcher which
generates the command I want or (b) change the existing icon
so that it executes MY command and not the basic...
Cool command line prompt command
Last night I rebooted a web server, and after doing so, I couldn't RDP into it. So, in the meanwhile, while I awaited a response from those in power who could go to the data center and physically restart the server, I thought there must be a command line prompt command that I can run from one of the other servers to reboot it. I found a command called shutdown. I ran shutdown /r /f ComputerName and it rebooted the server and then I was able to access it via RDP.
shutdown /r /f ComputerName
/r - Restart/f - Forced restartRyan OlshanASPInsider | Microsoft MVP, ASP.NEThttp://ryanolshan.c...
TFS Command Line Get Command
Hi
Can you pls help me how to pull the latest version or label from the TFS through Command Line. I went through the msdn documentation. I am not able to get a clear picture.
I am expecting some command with example where I can pass the server name, Credentials and sourcepath and Destination path.
Basically I want to pull the get latest to a local path which will be specified in the command line utility. Hope so I am clear.
Pls help me.RegardsFinny
You can use tf command line utilityThis utility can be found in C:/ProgramFiles/Microsoft Visual Studio (9 or 8...
command-line install onlyHi,
has anyone managed to create a standalone command-line build
system?
I tried following
http://delphi.wikia.com/wiki/Setting_up_a_Delphi_Build_Machine
but with little success.
(This is for dcc32.exe building.)
I only managed to get up to copying the Bin\ and Lib\
folders.
When I run "dcc32 -NS<a bunch of unit scopes> project.dpr",
I get:
Main.pas(5) Fatal: F1026 File not found:
'c:\Users\testbuild\build\Windows.dcu'
I have System mentioned in the -NS argument. I'm just not sure
what others. I copied the NS line from my .dpr file.
...
command-line install onlyHi,
has anyone managed to create a standalone command-line build
system?
I tried following
http://delphi.wikia.com/wiki/Setting_up_a_Delphi_Build_Machine
but with little success.
(This is for dcc32.exe building.)
I only managed to get up to copying the Bin\ and Lib\
folders.
When I run "dcc32 -NS<a bunch of unit scopes> project.dpr",
I get:
Main.pas(5) Fatal: F1026 File not found:
'c:\Users\testbuild\build\Windows.dcu'
I have System mentioned in the -NS argument. I'm just not sure
what others. I copied the NS line from my .dpr file.
...
What are command line commands to detach and attach a db
What are the command line commands to detach and attach a database?
My copy of Microsoft SQL Server Management Studio Express has stopped working. So I need to detach the database using the commands.Thank youJackxxx
Is this what you are looking for:
http://support.microsoft.com/kb/224071Thanks,MaxLet Me Google That For You!
sp_attach_db
sp_detach_dbBeware of bugs in the above code; I have only proved it correct, not tried it. (Donald Knuth)...
Thinking in commands, developer tools command lineJoe Walker has been building a great "modern command line" for developer
tools. You can see it right now in Nightly by setting devtools.gcli.enable
to true in about:config.
When you do so, you'll see the Web Console's JavaScript command line change
to a tool-oriented command line (which means: designed to be very quick to
type). You can still run JavaScript by hitting { (curly brace)
This has the potential to be an amazing feature... but it needs commands. I
started a wiki page:
https://wiki.mozilla.org/DevTools/ThinkingInCommands
I'm interested in hearin...
command line commands passed to perl script?Hi all,
Sorry, should have added this to my last email. Does
anyone know how to pass values to a perl script
through the command line? Do you use param as in CGI
scripting/
I want a user to be able to specify certain parameters
for the perl script (in case they want to run an
overnight scheduler on it).
Eg. testscript.pl /? gives you help or testscript /a
gives you another capability...
Ben
__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
Nameofperlscript command1 command2 command3
Params s...
Command line "move" command?I have a question about possibly setting up a Cron job to move files. First
some background. Netware 6.0, Groupwise 6.5.
We are using Gwavasig to append a signature to our email messages. Some of
our email messages seem to get stuck in the Gwavasig "send" directory,
particularly when we send out large numbers of messages (like our monthly
client mailout) . However, if we move these files from "send" to "receive"
they all go out with no problem.
I would like to automate this so that any remaining messages are moved
automatically once or twice a day. S...
command-line commands within a Perl scriptHi,
I have a directory with several subdirectories, each full of several dozen
Word files. For each subdirectory, I need to run the checksum app against
all of that directory's files and output a file into that directory with the
checksum results. How can I do this? I'm very unfamilar with running
command-line commands from within an Perl script. I know to change
directories, you can do something like this:
$changeDir = "cd ".$startingDir;
system($changeDir);
but what about retrieving the list of subdirectories from the starting
directory? How can I do this? ...
superreview granted: [Bug 242959] Thunderbird should open .eml files from command line : [Attachment 184014] this implements opening .eml files from the command lineScott MacGregor <mscott@mozilla.org> has granted David Bienvenu
<bienvenu@nventure.com>'s request for superreview:
Bug 242959: Thunderbird should open .eml files from command line
https://bugzilla.mozilla.org/show_bug.cgi?id=242959
Attachment 184014: this implements opening .eml files from the command line
https://bugzilla.mozilla.org/attachment.cgi?id=184014&action=edit
------- Additional Comments from Scott MacGregor <mscott@mozilla.org>
1) You might be able to move your file includes into the MOZ_XUL_APP ifdef
right below them since the new command line...