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.
#3
Solved: 10 Years, 10 Months ago
Hi Kannan,

In addition to Baba's solution, You can try in the below way for Printing the required FolderName in QuickTest Print Log.

Code:
Dim f,fso
set fso=createobject("scripting.filesystemobject")
set f=fso.getfolder("C:\Documents and Settings\csreekanth\Desktop\Srirama-ELC")
Print f.Name
Reply


Messages In This Thread
RE: Write a program to print the current folder name in the local system. - by sreekanth chilam - 01-05-2010, 08:10 PM

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

Forum Jump:


Users browsing this thread: 1 Guest(s)