Old 21st May 2014, 09:33   #1
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Quote:
Originally Posted by jpderuiter View Post
A physical drive is named: \\.\PhysicalDrive... (so a dot instead of questionmark)
And as you have to escape the backslash, use
code:
StrCpy $3 "\\\\.\\PhysicalDrive0"
You don't need to escape the backslashes in NSIS because they don't act as escape characters ($\ does).

Stu
Afrow UK is offline   Reply With Quote
Old 21st May 2014, 12:58   #2
jpderuiter
Major Dude
 
Join Date: Feb 2007
Posts: 672
Quote:
Originally Posted by Afrow UK View Post
You don't need to escape the backslashes in NSIS because they don't act as escape characters ($\ does)
You're right, in NSIS you don't have to escape a backslash.
Anyway, this is where I got the idea of escaping:
http://forums.winamp.com/showpost.ph...41&postcount=2
It seems to have been working for f0rt
jpderuiter is offline   Reply With Quote
Old 21st May 2014, 14:07   #3
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Quote:
Originally Posted by jpderuiter View Post
You're right, in NSIS you don't have to escape a backslash.
Anyway, this is where I got the idea of escaping:
http://forums.winamp.com/showpost.ph...41&postcount=2
It seems to have been working for f0rt
You can thank the vBulletin's PHP code tag he used for that.

Stu
Afrow UK 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