Solved

VB Script (running in a .vbs file)

Posted on 2001-06-21
1
130 Views
Last Modified: 2010-05-02
Hello,
 Could you tell me how to get the currently selected directory from VBScript (run as a VBS file from the console).

Thanks,
Nicholas Waltham
0
Comment
Question by:nwaltham
1 Comment
 
LVL 2

Accepted Solution

by:
_marko_ earned 30 total points
ID: 6213562
Set objFSO = CreateObject("Scripting.FileSystemObject")
MsgBox objFSO.GetAbsolutePathName(".\")
Set objFSO = Nothing


Marko
0

Featured Post

ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Restricting text box entry from \/:?<>"| 9 86
VB6 Compile Compatibility Issue 4 102
How does CurrentUser work? 10 37
Convert VB6 MSXML2.ServerXMLHTTP process to C# 2 47
There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question