Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-31-2006, 04:58 PM
rich.peters rich.peters is online now
Registered User
 
Join Date: 01-31-2006
Posts: 8
Unhappy Passing Macro file path to Jscript

When I pass a macro such as %PROJDIR% to Jscript, it replaces the backslashes in the file path with trash or nothing

(Presumably treating the \ as a C escape character)

ie :
jscript
--------------
var BuildXMLFile = "%BUILD_XML_FILE%" ;
WScript.Echo("Reading XML file:" + BuildXMLFile);

output
-------------

Reading XML file:C:devR1/buildproject.xml
Unable to Load XML File C:devR1/buildproject.xml: The system cannot find the path specified.

Is there a way to fix this?

thanks
Rich
Reply With Quote
 


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 Off
HTML code is Off



All times are GMT -5. The time now is 10:20 AM.


Copyright © 1999-2023 Kinook Software, Inc.