Results 1 to 8 of 8

Thread: Help copying files

  1. #1

    Thread Starter
    Hyperactive Member zer0_flaw's Avatar
    Join Date
    Apr 2001
    Posts
    448

    Exclamation

    Hrmmm... these will be 3 newbie question. I have no clue though. I'm used to programming in perl and am a newbie to visual basic. Anyway, here I go. 1) What is the command to copy files? 2) How do I rename a file? 3) Can I make *nix apps using VB? There we go, that's it. Thanks -=)

  2. #2
    Megatron
    Guest
    1) Use Filecopy
    Code:
    FileCopy "MyFile", "MyNewFile"
    2) Use Name
    Code:
    Name "MyFile" As "MyOtherFile"
    3) What do you mean by *nix?

  3. #3
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538
    • Filecopy "C:\Folder1\File.exe", "C:\Folder2\File.exe"
      (Syntax - Filecopy File&Path FROM , File&Path TO)
    • Name "C:\Folder1\File.exe", "C:\Folder1\File2.doc"
      (Syntax - NAME File&Path OLDNAME, File&Path NEWNAME)
    • Haven't a clue, what's a *nix app ?


    Megatron - pplleeaassseeee stop following me

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  4. #4

    Thread Starter
    Hyperactive Member zer0_flaw's Avatar
    Join Date
    Apr 2001
    Posts
    448
    A *nix application is for another operating system. *nix is a way of saying unix, linux, and others like them all in one word ;] It's used quite often in the non-windows world.

  5. #5
    egiggey
    Guest
    vb is soley a windows dev env as far as I know

  6. #6
    jim mcnamara
    Guest
    Arc-Info v8.0 (from ESRI) is a *nix app that uses VBA
    and runs on several flavors of unix and Windows.

    Embedded VBA or vbscript is about the only place you can find it outside of Windows.

  7. #7
    egiggey
    Guest
    I stand corected

  8. #8
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538
    Embedded VBA or vbscript is about the only place you can find it outside of Windows.
    There is a dos version of vb (VBDOS 1.0) I think it's called. Also, you can get an emulator to run your app on Linux although this one I've not seen.

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

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