Old 2nd April 2004, 17:38   #1
atsuk
Member
 
atsuk's Avatar
 
Join Date: Jun 2003
Location: Estonia
Posts: 91
nsExec::Exec problem & ExecWait

hi,
could someone give me an explanation why some commands don't work if nsExec::Exec is used, but works fine with ExecWait?
i met this problem with xcopy:

variables:
$DIR=c:\source
$destdir=c:\destination
$Failext=*.dbf
PHP Code:
nsExec::Exec '$SYSDIR\xcopy.exe "$DIR\$Failext" "$destdir\" /S /I /G /H /R'

ExecWait '$SYSDIR\xcopy.exe "$DIR\$Failext" "$destdir\" /S /I /G /H /R' 
any idea?
atsuk is offline   Reply With Quote
Old 2nd April 2004, 17:41   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
http://forums.winamp.com/showthread....ighlight=xcopy

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 2nd April 2004, 17:57   #3
atsuk
Member
 
atsuk's Avatar
 
Join Date: Jun 2003
Location: Estonia
Posts: 91
tnx
atsuk is offline   Reply With Quote
Reply
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