Results 1 to 12 of 12

Thread: [Resolved] Renaming system files

Threaded View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 2005
    Posts
    107

    [Resolved] Renaming system files

    I'm having a slight problem and i think it's due to Command Prompt. I'm trying to rename a system directory. It works on normal directories but not windows system dirs. I'm trying to do this the easitest way possible:

    Code:
    Private Sub cF_Click()
    On Error Resume Next
    Dim command1 As String
    command1 = "rename %homedrive%\RECYCLER RecyclebinBACKUP"
    Shell "Cmd.exe /k" & command1, vbNormalFocus
    End Sub
    Any way around this?
    Last edited by BefunMunkToloGen; Mar 25th, 2005 at 03:18 PM.

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