Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 140
  • Last Modified:

VB Script (running in a .vbs file)

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
nwaltham
Asked:
nwaltham
1 Solution
 
_marko_Commented:
Set objFSO = CreateObject("Scripting.FileSystemObject")
MsgBox objFSO.GetAbsolutePathName(".\")
Set objFSO = Nothing


Marko
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now