|
I'm using WinRAR SFX module to create an installation, and use its presetup option to run some preliminary tests.
Since wscript can only accept vbs file, and not the script itself, I first run "cmd /c echo {...script code...} > setup.vbs", and then...
Answer Snippets (Read the full thread at stackoverflow):
Is the script code already in a file? If so,
You can use the TYPE command to send the script
If the script code is in the body of your cmd , you can use the START command to run the cmd without from VBScript like this:
Set WSHShell....
|
|
On Tue, 08 Jul 2008 21:44:10 +0200, Keith <nospam@nospam.com
Been struggling with this for hours now !
Here"s my problem, I have an .exe I run using this script in aso code:
in the download.asp file.
88 : Set WshShell = Server.CreateObject("Wscript...
Started by Keith on
, 4 posts
by 3 people.
Answer Snippets (Read the full thread at omgili):
- Shouldn't it be
88 : Set WshShell.
Happens when you run "D:\DATAII~1\xyz\abc\code.exe xyz"
from a Command Prompt?
On Wed, 09 Jul;nospam@nospam.comnews:0fg774hch8qtkelou5fckqfjs1i69ptpfr@4ax.com...
|
|
I am trying to replicate the exact functionality of this dialogue in Visual Studio 2008 in a build script:
This is an ASP.NET web site , not a web application .
I have Googled around this and turned up quite a bit of stuff involving MSBuild, but this ...
Started by tomfanning on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Microsoft Visual Studio 2005 > Visual Studio 2005 Command Prompt Microsoft Visual Studio 2008 > Visual Studio 2008 Command Prompt Microsoft .NET Framework SDK v2.0 > SDK Command WshShell....
Classic%29.aspx.
|
Ask your Facebook Friends
|
On Sat, 15 Aug 2009 14:26:49 -0700 (PDT), Editor01 <desertfox02@gmail.com
Is there any way of creating a simple Prompt Window with a Minimize
button?
Started by Editor01 on
, 4 posts
by 3 people.
Answer Snippets (Read the full thread at omgili):
I just wanted to....
Set WshShell = WScript.CreateObject("WScript.Shell you for replying.
If not, please provide more details about
what you are trying to do .
If so,
you can build in the following.
A minimized command prompt window.
|
|
On Tue, 3 Mar 2009 22:47:43 +0100, "karamel" <karamel@yahoo.fr
Hello
I want to execute a line command in WSH (with cmd.exe)
and i don't do this.
like this winzip it's an exemple
_________________________________________________
Set WshShell = ...
Started by karamel on
, 3 posts
by 2 people.
Answer Snippets (Read the full thread at omgili):
Try this ,,,
commande = """c:\program.
Try this ,,,
commande = """c:\program files\winzip\wzzip.exe needs to be
enclosed in double quotes at the command prompt.
In double quotes at the command prompt.
|
|
I write the following batch to put short cut of word.exe of office 2003 in quick launch
it work but put the exe file itself not a short cut
could you tell me what i do to put short cut
cmdow @ /HID
echo
copy C:\"Program Files"\"Microsoft Office"\OFFICE...
Started by tata196 on
, 7 posts
by 5 people.
Answer Snippets (Read the full thread at windowssecrets):
AFAIK there's no way to do it at the command prompt (and I'm happy something like this:
$....
AFAIK there's no way to do it at the command prompt (and I'm happy to be corrected as it's none of my business lol.
Business lol.
|
|
How do you redirect input to an executable from inside VBA? Specifically, why does the code below not work?
ChDir theRightDirectory Set WshShell = VBA.CreateObject("WScript.Shell") WshShell.Run "runme < start.txt", 1, True
Or
RetVal = Shell("runme ...
Started by JF on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
I've been made aware of a solution an option.) A bonus is that the user can get... .
Execute the command this way:
WshShell.Run "%COMSPEC% /C runme < start.txt", 1, True
That way it will run it through the command line interpreter.
|
|
On Tue, 11 Nov 2008 10:36:52 -0800 (PST), rogv <rvaedex23@gmail.com
How can I insert a Dos command in VBS script.
I am trying to move:
from c:/temp/myvbs2.txt c:/temp/folder1
I am not familiar with VBS but it would be nice to know how to do it...
Started by rogv on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at omgili):
Have a look here for an example to execute a shell command from within VB
Script:
http://www.microsoft.com/technet you want to do
is execute a native....
There is no
need to shell out to the Command Prompt.
To get the basic stuff.
|
|
As part of our database revision control (and auto-installation) procedures we need to be able run sqlcmd.exe on various .sql files from within an ASP page. The code I'm using to do this is:
Dim cmd : cmd = "sqlcmd -S " & DATABASE_SERVER & " -U " & DATABASE...
Started by jammus on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
There is only a very very small chance that you actually want this!
To execute SQL Commands from ASP see this article: http://www.w3schools.com/ADO/ado_examples.asp
Or this one:
http://www.domaindlx.com/asp_db.asp
If your SQL Scripts are too large....
|
|
Hi,
I am using this code to run some files from Javascript . it works fine with this example but does not work if have spaces in either folder names or file names.
How can i do that ?
<script type= " text/javascript" language= " javascript" >
...
Started by Dino He-MSFT Moderator on
, 2 posts
by 1 people.
Answer Snippets (Read the full thread at microsoft):
All you need to do is add "" like get more quickly anwser.)
And
In this code, WshShell.Run method just like run a command in your.
You cannot use D:\a b.txt to open the a b.txt in CMD .
Command Prompt.
|