Old 8th November 2021, 10:52   #1
Anders Hydén
Junior Member
 
Join Date: Jan 2021
Posts: 12
exclude file in 'File'-command

HI,
I want to copy all files in a folder but one specificially group. Like this line that is not accepted:

File /r C:\UTV\DF191\Marin\Programs\*.* /x DataFlex*.exe

1. Why does this not work?
2. Can I put several lines with different File-commands?
3. Should the full path always be included?

The examples are all without a full path. That's a pitty...

Regards
Anders
Anders Hydén is offline   Reply With Quote
Old 8th November 2021, 12:06   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,484
/x switch needs to come before the final path?

The path is relative to your .nsi file, relative or absolute path is up to you.

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 8th November 2021, 15:33   #3
Anders Hydén
Junior Member
 
Join Date: Jan 2021
Posts: 12
Thanks!
That helped.
Anders Hydén 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