Results 1 to 5 of 5

Thread: Working_directory & "\scripts"

  1. #1

    Thread Starter
    Addicted Member kake_fisk's Avatar
    Join Date
    May 2008
    Posts
    207

    Working_directory & "\scripts"

    Working_directory & "\scripts"
    Is it possible to do this?

  2. #2
    New Member
    Join Date
    May 2008
    Location
    FL
    Posts
    6

    Re: Working_directory & "\scripts"

    Of course it is, you just did it!!!

    However, if in your ambiguity you mean is it possible to do this:

    VB Code:
    1. Dim Working_directory As String = FileSystem.CurDir
    2. 'OR
    3. Dim Working_directory As String = My.Computer.FileSystem.CurrentDirectory.ToString
    4. ' This one is better as it gives you better productivity and performance in File I/O than CurDir
    5.  
    6. Dim scriptspath As String = Working_directory & "\scripts"

    LNP

  3. #3
    PowerPoster stanav's Avatar
    Join Date
    Jul 2006
    Location
    Providence, RI - USA
    Posts
    9,290

    Re: Working_directory & "\scripts"

    What do you mean by "working_directory"?
    Let us have faith that right makes might, and in that faith, let us, to the end, dare to do our duty as we understand it.
    - Abraham Lincoln -

  4. #4
    Lively Member
    Join Date
    May 2008
    Posts
    90

    Re: Working_directory & "\scripts"

    Hi, a Workng directory is where the .exe is so it will be that forder that you will want to store scripts.

  5. #5

    Thread Starter
    Addicted Member kake_fisk's Avatar
    Join Date
    May 2008
    Posts
    207

    Re: Working_directory & "\scripts"

    Ohh, lol, Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width