Why would this jump to first if statement on a Windows 7 ?

Author Message
as14921115

  • Total Posts : 3
  • Scores: 0
  • Reward points : 0
  • Joined: 1/24/2012
  • Status: offline
Why would this jump to first if statement on a Windows 7 ? Wednesday, February 01, 2012 6:07 AM (permalink)
0
if oFSO.FolderExists("C:\Program Files\WinZip") = True OR oFSO.FolderExists("C:\Program Files (x86)\WinZip") = True Then

if oFSO.FolderExists("C:\Documents and Settings") = True Then

 
   oFSO.CopyFile "Command Line Support Add-On.CHM","C:\Documents and Settings\All Users\Start Menu\Programs\WinZip\", True
   oFSO.CopyFile "WZCL32.DLL","C:\Program Files\WinZip\", True
 
#1
    59cobalt

    • Total Posts : 981
    • Scores: 91
    • Reward points : 0
    • Joined: 7/17/2011
    • Status: offline
    Re:Why would this jump to first if statement on a Windows 7 ? Wednesday, February 01, 2012 7:28 AM (permalink)
    0
    Your first if-statement is right at the beginning of the code snippet, so why would it not "jump" there?
     
    #2

      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-2012 ASPPlayground.NET Forum Version 3.9