Login   /   Register

Adding quotes

Rate this article
     0 votes, average: 0 out of 50 votes, average: 0 out of 50 votes, average: 0 out of 50 votes, average: 0 out of 50 votes, average: 0 out of 5
Loading ... Loading ...
April 1st, 2008 by daniva

Adds quotes to a filename… especially useful when sending an argument to a program (ie a filename) and it has spaces in it (with spaces if shows up as multiple arguments.

newSAtr = Chr( 34 ) & Environment( "ProductDir" ) & Chr( 34 )

Posted in VBScript

Leave a Reply

You must be logged in to post a comment.

This article was viewed 351 times