AnsweredAssumed Answered

vrf vs \

Question asked by VRFuser on Nov 12, 2003
> Is there any difference between using one "" or using two "\" in drive

In a string constant, the backslash is an escape character. To get a real
backslash, you have to use two of them. "c:\My Files" is actually "c:My
Files" after it's parsed. OTOH, if you're using a control input for a file
name, you only feed one backslash in because it's not a string literal. IOW:

cBS = intToChar(92);
path = "c:" + cBS + "My Files";

is exactly equal to:

"c:\My Files"

You are currently subscribed to vrf as:
To subscribe send a blank email to "".
To unsubscribe send a blank email to "".
To send messages to this mailing list,  email "". 
If you need help with the mailing list send a message to "".