View Single Post
  #1  
Old 09-28-2009, 03:54 AM
isostar isostar is online now
Registered User
 
Join Date: 03-18-2003
Posts: 8
Current working directory

How do you get the current working directory in a build script?
I have previously used a script to do this:

var Shell = WScript.CreateObject("WScript.Shell");
Application.Macros(vbldMacroTemporary).Add("CURREN T_DIR", Shell.CurrentDirectory);

But that seems kind of unnecessary when it could be a standard macro.
Reply With Quote