steedra 0 Posted July 27, 2011 Need help for something that would seem so simple. DirCreate("\\steedraserver01\interdepartmental\DailyReports\" & $date & "\Ancillary_Charge_Report") The above will create the folder up to the point of $date. I cannot seem to get it to create the remaining part of the directory. Not sure if I have written it correctly or need another string to create the subdirector within the first directory ending with the $date. Basically need it to end up being \\steedraserver01\interdepartmental\DailyReports\2011-07-26\Ancillary_Charge_Report when all is said and done. Any suggestions greatly appreciated. Thanks, Steedra Share this post Link to post Share on other sites
Valuater 129 Posted July 27, 2011 Maybe... $date = _NowCalcDate() MsgBox(0,0, $date) 8) Share this post Link to post Share on other sites
JoHanatCent 13 Posted July 27, 2011 Basically need it to end up being \\steedraserver01\interdepartmental\DailyReports\2011-07-26\Ancillary_Charge_Report when all is said and done. Any suggestions greatly appreciated. Thanks, Steedra Try: $date = @year&"-"&@MON&"-"&@MDAY Share this post Link to post Share on other sites