Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Write a program to print the current folder name in the local system.
#8
Solved: 11 Years, 3 Months, 3 Weeks ago
I think this may help you

Code:
set WshShell = WScript.CreateObject("WScript.Shell")
Dir=WshShell.CurrentDirectory
arrydir=split(dir,"\")
msgbox arrydir(ubound(arrydir))

Thanks
Gowtham
Reply


Messages In This Thread
RE: Write a program to print the current folder name in the local system. - by gowtham.m.h - 07-06-2011, 05:26 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  System Utility Syntax chita26 1 4,913 11-04-2014, 12:41 PM
Last Post: vinod123
  Error in getting sum of numbers program QTpier 2 3,011 07-18-2014, 01:53 PM
Last Post: QTpier
  Delete icon in System tray arpan 2 4,047 07-12-2013, 07:38 PM
Last Post: arpan
  Creating a folder from within a reusable action. sd3 2 3,182 06-18-2013, 03:20 PM
Last Post: learnQtptips
Exclamation How to get the system time using QTP qtplearner88 1 11,838 05-30-2012, 05:42 PM
Last Post: ssvali

Forum Jump:


Users browsing this thread: 5 Guest(s)