Deprecated: Optional parameter $ad_content declared before required parameter $ad is implicitly treated as a required parameter in /home1/briangon/public_html/wp-content/plugins/advanced-ads-pro/classes/advanced-ads-pro.php on line 306

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home1/briangon/public_html/wp-content/plugins/bad-behavior/bad-behavior/blackhole.inc.php on line 55

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wpeditor domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home1/briangon/public_html/wp-includes/functions.php on line 6114

Deprecated: Optional parameter $options declared before required parameter $ad is implicitly treated as a required parameter in /home1/briangon/public_html/wp-content/plugins/advanced-ads-pro/modules/advanced-display-conditions/main.class.php on line 137

Deprecated: Optional parameter $options declared before required parameter $ad is implicitly treated as a required parameter in /home1/briangon/public_html/wp-content/plugins/advanced-ads-pro/modules/advanced-display-conditions/main.class.php on line 164

Deprecated: Optional parameter $options declared before required parameter $ad is implicitly treated as a required parameter in /home1/briangon/public_html/wp-content/plugins/advanced-ads-pro/modules/advanced-display-conditions/main.class.php on line 195

Deprecated: Optional parameter $options declared before required parameter $ad is implicitly treated as a required parameter in /home1/briangon/public_html/wp-content/plugins/advanced-ads-pro/modules/advanced-display-conditions/main.class.php on line 221

Deprecated: Optional parameter $options declared before required parameter $ad is implicitly treated as a required parameter in /home1/briangon/public_html/wp-content/plugins/advanced-ads-pro/modules/advanced-display-conditions/main.class.php on line 249

Deprecated: Optional parameter $options declared before required parameter $ad is implicitly treated as a required parameter in /home1/briangon/public_html/wp-content/plugins/advanced-ads-pro/modules/advanced-display-conditions/main.class.php on line 287

Deprecated: Optional parameter $options declared before required parameter $ad is implicitly treated as a required parameter in /home1/briangon/public_html/wp-content/plugins/advanced-ads-pro/modules/advanced-visitor-conditions/main.class.php on line 560

Deprecated: Optional parameter $content declared before required parameter $ad is implicitly treated as a required parameter in /home1/briangon/public_html/wp-content/plugins/advanced-ads-pro/modules/advanced-visitor-conditions/main.class.php on line 730

Deprecated: Creation of dynamic property Advanced_Ads_Pro_Module_Cache_Busting::$lazy_load_module_enabled is deprecated in /home1/briangon/public_html/wp-content/plugins/advanced-ads-pro/modules/cache-busting/cache-busting.class.php on line 93

Deprecated: Creation of dynamic property Advanced_Ads_Pro_Module_Cache_Busting::$lazy_load_module_offset is deprecated in /home1/briangon/public_html/wp-content/plugins/advanced-ads-pro/modules/cache-busting/cache-busting.class.php on line 94

Deprecated: Creation of dynamic property Advanced_Ads_Pro_Module_Cache_Busting::$cache_busting_module_enabled is deprecated in /home1/briangon/public_html/wp-content/plugins/advanced-ads-pro/modules/cache-busting/cache-busting.class.php on line 100

Deprecated: Creation of dynamic property Advanced_Ads_Pro_Module_Cache_Busting::$fallback_method is deprecated in /home1/briangon/public_html/wp-content/plugins/advanced-ads-pro/modules/cache-busting/cache-busting.class.php on line 114

Deprecated: Creation of dynamic property Advanced_Ads_Pro_Cache_Busting_Server_Info::$cache_busting is deprecated in /home1/briangon/public_html/wp-content/plugins/advanced-ads-pro/modules/cache-busting/server-info.class.php on line 15

Deprecated: Creation of dynamic property Advanced_Ads_Pro_Cache_Busting_Server_Info::$options is deprecated in /home1/briangon/public_html/wp-content/plugins/advanced-ads-pro/modules/cache-busting/server-info.class.php on line 16

Deprecated: Creation of dynamic property Advanced_Ads_Pro_Cache_Busting_Server_Info::$server_info_duration is deprecated in /home1/briangon/public_html/wp-content/plugins/advanced-ads-pro/modules/cache-busting/server-info.class.php on line 18

Deprecated: Creation of dynamic property Advanced_Ads_Pro_Cache_Busting_Server_Info::$vc_cache_reset is deprecated in /home1/briangon/public_html/wp-content/plugins/advanced-ads-pro/modules/cache-busting/server-info.class.php on line 19

Deprecated: Creation of dynamic property Advanced_Ads_Pro_Cache_Busting_Server_Info::$is_ajax is deprecated in /home1/briangon/public_html/wp-content/plugins/advanced-ads-pro/modules/cache-busting/server-info.class.php on line 21

Deprecated: Creation of dynamic property Advanced_Ads_Pro_Cache_Busting_Server_Info_Cookie::$server_info is deprecated in /home1/briangon/public_html/wp-content/plugins/advanced-ads-pro/modules/cache-busting/server-info.class.php on line 140

Deprecated: Creation of dynamic property Advanced_Ads_Pro_Module_Cache_Busting::$server_info is deprecated in /home1/briangon/public_html/wp-content/plugins/advanced-ads-pro/modules/cache-busting/cache-busting.class.php on line 116

Deprecated: Optional parameter $ad_count declared before required parameter $group is implicitly treated as a required parameter in /home1/briangon/public_html/wp-content/plugins/advanced-ads-pro/modules/grids/grids.class.php on line 70

Deprecated: Optional parameter $ad_count declared before required parameter $group is implicitly treated as a required parameter in /home1/briangon/public_html/wp-content/plugins/advanced-ads-pro/modules/group-refresh/group-refresh.class.php on line 282

Deprecated: Creation of dynamic property Advanced_Ads_Pro_Group_Refresh::$is_ajax is deprecated in /home1/briangon/public_html/wp-content/plugins/advanced-ads-pro/modules/group-refresh/group-refresh.class.php on line 15

Deprecated: Optional parameter $content declared before required parameter $ad is implicitly treated as a required parameter in /home1/briangon/public_html/wp-content/plugins/advanced-ads-pro/modules/inject-content/inject-content.class.php on line 201

Deprecated: Optional parameter $content declared before required parameter $placement_id is implicitly treated as a required parameter in /home1/briangon/public_html/wp-content/plugins/advanced-ads-pro/modules/inject-content/inject-content.class.php on line 453

Deprecated: Optional parameter $options declared before required parameter $ad is implicitly treated as a required parameter in /home1/briangon/public_html/wp-content/plugins/advanced-ads-pro/modules/paid-memberships-pro/main.class.php on line 48

Deprecated: Optional parameter $options declared before required parameter $ad is implicitly treated as a required parameter in /home1/briangon/public_html/wp-content/plugins/advanced-ads-pro/modules/paid-memberships-pro/main.class.php on line 162

Deprecated: Optional parameter $options declared before required parameter $ad is implicitly treated as a required parameter in /home1/briangon/public_html/wp-content/plugins/advanced-ads-pro/modules/weekdays/weekdays.class.php on line 64

Warning: Cannot modify header information - headers already sent by (output started at /home1/briangon/public_html/wp-content/plugins/advanced-ads-pro/classes/advanced-ads-pro.php:306) in /home1/briangon/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home1/briangon/public_html/wp-content/plugins/advanced-ads-pro/classes/advanced-ads-pro.php:306) in /home1/briangon/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home1/briangon/public_html/wp-content/plugins/advanced-ads-pro/classes/advanced-ads-pro.php:306) in /home1/briangon/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home1/briangon/public_html/wp-content/plugins/advanced-ads-pro/classes/advanced-ads-pro.php:306) in /home1/briangon/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home1/briangon/public_html/wp-content/plugins/advanced-ads-pro/classes/advanced-ads-pro.php:306) in /home1/briangon/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home1/briangon/public_html/wp-content/plugins/advanced-ads-pro/classes/advanced-ads-pro.php:306) in /home1/briangon/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home1/briangon/public_html/wp-content/plugins/advanced-ads-pro/classes/advanced-ads-pro.php:306) in /home1/briangon/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home1/briangon/public_html/wp-content/plugins/advanced-ads-pro/classes/advanced-ads-pro.php:306) in /home1/briangon/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1893
{"id":5,"date":"2011-01-01T19:42:10","date_gmt":"2011-01-01T19:42:10","guid":{"rendered":"http:\/\/supportishere.com\/?p=5"},"modified":"2011-01-01T19:55:53","modified_gmt":"2011-01-01T19:55:53","slug":"quick-hits-vbscript-wsh-script-how-to-reference-current-directory","status":"publish","type":"post","link":"https:\/\/supportishere.com\/quick-hits-vbscript-wsh-script-how-to-reference-current-directory\/","title":{"rendered":"Quick Hits: VBScript \/ WSH Script How to Reference Current Directory"},"content":{"rendered":"

Vbscript does not include a variable populated with the current directory in which the script is called.\u00a0 They do however include two other variables that give us the ability to dynamically grab this string:<\/p>\n

Wscript.ScriptFullName = Full Path and Name of script ( ie. c:\\Folder\\SubFolder\\Script.vbs )<\/p>\n

Wscript.ScriptName = Name of Script ( ie. Script.vbs )<\/p>\n

Using the Len built-in function, we can cut the name from the end of the “ScriptFullName\u201d script to acheive our goal:<\/p>\n

scriptPath = Left(WScript.ScriptFullName, Len(WScript.ScriptFullName) – Len(WScript.ScriptName))<\/p><\/blockquote>\n

Note: Output includes \u201c\\\u201d\u00a0 after folder name ( ie. c:\\Folder\\SubFolder\\ )<\/em><\/p>\n

<\/em>In MDT ( Microsoft Deployment Toolkit ), the ZTIUTility.vbs script includes this functionality.\u00a0 As long as you include this script in your custom .WSF, then you can use the \u201csScriptDir\u201d variable.\u00a0 That is populated via the \u201cFileSystemObject\u201d.<\/p>\n

Set oFSO = CreateObject(“Scripting.FileSystemObject”)<\/p>\n

sScriptDir = oFSO.GetParentFolderName(WScript.ScriptFullName)<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"

Vbscript does not include a variable populated with the current directory in which the script is called.\u00a0 They do however include two other variables that give us the ability to dynamically grab this string: Wscript.ScriptFullName = Full Path and Name of script ( ie. c:\\Folder\\SubFolder\\Script.vbs ) Wscript.ScriptName = Name of Script ( ie. Script.vbs )\u2026 Read More »<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[3],"tags":[],"class_list":["post-5","post","type-post","status-publish","format-standard","hentry","category-scripting"],"jetpack_publicize_connections":[],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p3WXID-5","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/supportishere.com\/wp-json\/wp\/v2\/posts\/5","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/supportishere.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/supportishere.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/supportishere.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/supportishere.com\/wp-json\/wp\/v2\/comments?post=5"}],"version-history":[{"count":2,"href":"https:\/\/supportishere.com\/wp-json\/wp\/v2\/posts\/5\/revisions"}],"predecessor-version":[{"id":7,"href":"https:\/\/supportishere.com\/wp-json\/wp\/v2\/posts\/5\/revisions\/7"}],"wp:attachment":[{"href":"https:\/\/supportishere.com\/wp-json\/wp\/v2\/media?parent=5"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/supportishere.com\/wp-json\/wp\/v2\/categories?post=5"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/supportishere.com\/wp-json\/wp\/v2\/tags?post=5"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}