Welcome !
         

 how to get working drive and directory?

Author Message
LawfulEvil

  • Total Posts : 10
  • Scores: 0
  • Reward points : 0
  • Joined: 7/25/2004
  • Location:
  • Status: offline
how to get working drive and directory? Sunday, August 15, 2004 5:47 PM (permalink)
0
Dear all,

I need to write a script to read the script's directory information and i face some problem.

if i put my script under C:\temp

How can i get the working drive (return c:\) ?
How can i get the working directory? (return temp or c:\temp)?

 
#1
    Online Bookmarks Sharing: Share/Bookmark

    Jump to:

    Current active users

    There are 0 members and 1 guests.

    Icon Legend and Permission

    • New Messages
    • No New Messages
    • Hot Topic w/ New Messages
    • Hot Topic w/o New Messages
    • Locked w/ New Messages
    • Locked w/o New Messages
    • Read Message
    • Post New Thread
    • Reply to message
    • Post New Poll
    • Submit Vote
    • Post reward post
    • Delete my own posts
    • Delete my own threads
    • Rate post

    2000-2017 ASPPlayground.NET Forum Version 3.9