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.
#9
Solved: 10 Years, 9 Months, 1 Week ago
Well i have seen that commentators are arguing with their answer....actually the question is not clear.....

what exactly u want????

1. The current folder name only where you are present???
2. Or u need the full path of that folder where you are present???

The answer of 1st question is what exactly gowtham.m.h has suggested.....

and the answer of 2nd question is to use inbuilt Environment variable ("TestDir") what exactly azar80 has suggested.....

And i dont think bfakruddin has suggested any logical answer...he has just passed the string and printed that....but if i dnt know the string then what??? i guess exactly this thing is being asked in this question that how to get that string.......


So better try gowtham.m.h or azar80 suggestion as per ur need.....

Reply


Messages In This Thread
RE: Write a program to print the current folder name in the local system. - by souvikghosh_diatm - 07-09-2011, 11:10 AM

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

Forum Jump:


Users browsing this thread: 1 Guest(s)