Prev Previous Post   Next Post Next
Old 17th September 2008, 05:10   #1
and84
Junior Member
 
Join Date: Apr 2008
Posts: 12
Call of a command of the console, without bat-file

Hi all!
Question: How it is possible to create a macro, for call of the console with certain parametres?
My script works so:
I Write in bat - file
PHP Code:
FileOpen $"$EXEDIR\\pack.bat" 
#The command of the console 7z for file packing... Through variables (path and a filename)
FileWrite $"7z a -tzip $EXEDIR\\$R8\\$R9zip $EXEDIR\\$R8\\$R3 -mx9"        
FileClose $
then I start it...
PHP Code:
ExecWait "$EXEDIR\\pack.bat" 
The command through the console is as a result fulfilled... As it is possible to make it without bat - file
Thanks.
and84 is offline   Reply With Quote
 
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump